HTML+1 (1) - <p align =...

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

View Full Document Right Arrow Icon
CS 170:  HTML 1 Kristian Stout stouty@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 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> 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
Background image of page 5

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

View Full DocumentRight Arrow Icon
Attributes Properties such as text alignment require more  information. FORMAT:  <tag attribute="value">
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

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

View Full DocumentRight Arrow Icon
Background image of page 10
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: &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; Helpful Resources www . webmonkey . com www.w3schools.com Problem-solution: Basic HTML Problem 1 CS170 needs a new web page. Create a basic HTML page, using all the required basic tags and include one of each of the following: indicate the classs title in the page title give the page a heading using a heading tag indicate the times the class meets inside of a paragraph include a second paragraph that describes the classs purpose make some text bold and some text italic Problem-solution: Basic HTML Problem 2: Write the HTML that could generate the following screenshot:...
View Full Document

Page1 / 10

HTML+1 (1) - &amp;amp;lt;p align =...

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

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