Lecture 5

Lecture 5 - • Paragraph<p>paragraph 1</p> •...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 170: HTML 1 Prof. Jim Appenzeller [email protected]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
A Basic HTML File <html> <head> <title>My First Page</title> </head> <body> Hello there. This is my first page! </body> </html>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Tags o The order in which you close and open tags is IMPORTANT <b><i>My Text</i></b> = GOOD <b><i>My Text</b></i> = BAD
Background image of page 4
Basic Tags html, head, body Title: <title>page title; found in head</title> Bold : <b>this txt appears bold</b> Italics : <i>this txt appears in italics</i> Underline : <u>appears underlined</u>
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • Paragraph : <p>paragraph 1</p> • Linebreak : <br> • Preformatted <pre> </pre> : print text within tag as it is formatted. • Horizontal rule <hr> : draw horizontal line • Heading h1 to h6 : Change heading size Attributes • Properties such as text alignment require more information. • FORMAT: <tag attribute="value"> <p align = "center"> (default justification is left) Escape Codes • < = &lt; • > = &gt; • (blank space) = &nbsp; • & = &amp;...
View Full Document

{[ snackBarMessage ]}

Page1 / 7

Lecture 5 - • Paragraph<p>paragraph 1</p> •...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online