Html Karl W Broman Department of Biostatistics Johns Hopkins University

Slides:



Advertisements
Similar presentations
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Advertisements

HTML popo.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
1 Lesson 5. 2 R3 R1 R5 R4 R6 R2 B B A A
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
CSS CSS Precise Aesthetic Control. Cascading Style Sheets Though they can be put in HTML header, usually a separate page that the HTML links to Contains.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Html Karl W Broman Department of Biostatistics Johns Hopkins University
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Controlling Page Style: Cascading Style Sheets (CSS) References: 1.Wang, P.S & Katila, S. (2004). A Introduction to Web Design and Programming. CA: Thomson.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
Web Design I Spring 2009 Kevin Cole Gallaudet University
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
Exploring Office 2003 – Grauer and Barber Enhancing the Web Page Chapter 3 BCIS 1405 Session 15.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
 A style sheet is a single page of formatting instructions that can control the appearance of many HTML pages at once.  If style sheets accomplished.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
XHTML/CSS Week 3. This Week  Quiz to revise last week (XHTML and DW)  CSS - Part 2  Using HTML Tables.
CO1552 – Web Application Development Cascading Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
CSS Font CSS font properties define the font family, boldness, size, and the style of a text. CSS Font Families Generic family Font familyDescription Serif.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
CSS Cascading Style Sheets. CSS Advantages Greater typography and page layout control Style is separate from structure Styles can be stored in a separate.
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML and CSS. The Browser The browser is not print!
ECA 228 Internet/Intranet Design I Intro to Markup.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
More CSS.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
1 Web Application Programming Presented by: Mehwish Shafiq.
Advanced Web Development Instructor: Thomas Bombach.
CSS with XHTML Please use speaker notes for additional information!
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
OV Copyright © 2008 Element K Content LLC. All rights reserved.  Format Text  Format Lists  Format Images  Modify Page Background Applying Styles.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
Web programming Part 1: HTML 由 NordriDesign 提供
Lecture 2: Cascading Style Sheets (CSS) Instructor: Dr. M. Anwar Hossain.
Cascading Style Sheets Web Design Fairport High School.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML – The Basics Rebecca Shillingburg
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
Group 9: Through examples, explain how to build a css navigation bar. Presented by: Daniel Ku, Matt Iannacci & Iphia Henry.
Creating Layouts with CSS. Span tag Here is some underlined text. Here is some blinking text. Here's some bold text.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Cheryl Wolfe Web Services Administrator Tampa-Hillsborough County Public Library James Day Electronic Services Librarian Embry-Riddle Aeronautical University.
JavaScript and Ajax (JavaScript Dynamic HTML (DHTML)) Week 7 Web site:
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Presentation transcript:

html Karl W Broman Department of Biostatistics Johns Hopkins University

2 General principles Simple is better –Content over form –Text before images Look at others’ source Be satisfied with what you get

3 Good

4 Not so good

5 About html html = hypertext markup language Like LaTeX –Plain text files –Marked up to indicate content (e.g., italics surrounded by and ) –The browser interprets the marks to form the page A good book: –Musciano & Kennedy (2002) Html and xhtml: the definitive guide, 5th edition. O’Reilly.

6 At Hopkins Biostat ~/public_html ~  /users/faculty/kbroman /users/faculty/kbroman/public_html  /users/html/kbroman/public_html

7 Basic marks … Headers of different sizes Start paragraph Line break Horizontal rule

8 Marks can take arguments

9 A basic page My example page This is an example page I can write a bunch of stuff here. And then create a new paragraph. Or I can just start a new line. Small stuff on the right

10 As seen in the browser

11 My home page My publications pdf (200k) Links

12 Images A link to a picture

13 Fonts, etc. Make this red. This will be bold but this won’t be. This will be in italics but not this.

14 In the browser

15 Lists An ordered list: The first item. The second item. An unordered list with gaps between items: The first item. The second item. The third item.

16 In the browser

17 More lists Fancier list: The first item. Sub item one. Sub item two. The second item.

18 In the browser

19 Tables Col 1 Col 2 Col 3 The second row More here Yet more Row after a gap Here’s a bunch of stuff covering two columns.

20 In the browser

21 A few more points I often use in tables to get things to line up properly. I often include extra empty columns to put bigger gaps between the non-empty columns. You can use or to refer to width relative to the browser or in pixels. The tag can also take a width argument.

22 Cascading style sheets Make it easier to have a consistent style on all of your web pages. Create a file like "myformat.css" containing various information about font types, sizes, and colors and such. Include a reference to it in each html file.

23 kbroman.css BODY {color: black; background-color: #ffe; font-family: arial; font-size: 14px} H1 {color: #039; font-family: arial; font-size: 25px} H2 {color: #039; font-family: arial; font-size: 22px} H3 {color: #039; font-family: arial; font-size: 17px} H4 {color: #039; font-family: arial; font-style: italic; font-size: 14px; font-weight: normal} H4.indent {color: #039; font-family: arial; font-style: italic; font-size: 14px; font-weight: normal; margin-left: 14px} H5 {font-family: arial; font-size: 10px} A {color: #90C; text-decoration: none} A:link {color: #90C; text-decoration: none} A:visited {color: #90C; text-decoration: none}

24 And more P.vlarge {font-family: arial; font-size: 20px} P.large {font-family: arial; font-size: 17px; margin-left: 14px} P.lgnoindent {font-family: arial; font-size: 17px; margin- left: 0} P.noindent {font-family: arial; font-size: 14px; margin-left: 0} P.small {font-family: arial; font-size: 10px; margin-left: 0} P {color: black; font-family: arial; font-size: 14px; margin- left: 14px} CODE {color: blue; font-family: courier; font-size: 14px} CODE.large {color: blue; font-family: courier; font-size: 17px} margin-left: 14px} PRE {color: blue; font-family: courier; font-size: 14px} PRE.indent {color: blue; font-family: courier; font-size: 14px;margin-left: 28px}

25 The top of my page Karl W Broman