Lecture 5

Lecture 5 - Paragraph : <p>paragraph...

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 speaker@rci.rutgers.edu
Background image of page 1

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

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

Page1 / 7

Lecture 5 - Paragraph : &amp;amp;lt;p&amp;amp;gt;paragraph...

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