{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HTML 1 - <p align ="center">(default...

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

View Full Document Right Arrow Icon
CS 170:  HTML 1 Kristian Stout [email protected]
Image of page 1

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

View Full Document Right Arrow Icon
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>
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

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

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

View Full Document Right Arrow Icon
Image of page 8
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: <p align = "center"> (default justification is left) Escape Codes • < = &lt; • > = &gt; • (blank space) = &nbsp; • & = &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 class’s 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 class’s 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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern