Tuesday, August 19, 2014

Assessment 1 - Using the Style attribute and STYLE tag in HTML



Assessment 1 - Using the Style attribute and <STYLE> tag in HTML

  1. Create a new Web page called "Styles.htm" with all the basic HTML tags and save it in your HTML folder.
  2. Add the following content to the <TITLE> tag – “Using Styles in HTML”
  3. Using the style attribute format everything in the <BODY> tag to have a text color of red and the font family Verdana.
  4. Insert a <STYLE> tag into the page and create two classes;
    1. Class p.first should have a background color of light blue and text color should be white
    2. Class p.second should have all text underlined and bolded
    3. Add a style for the "div" tag that creates a dashed border on all four sides with a background color of light yellow
  5. Create a Heading for your page called "About Me" using the <H1> tag.
  6. Center the Heading and use the style attribute in the <H1> tag to make the text size 20 pixels and underlined.
  7. Write two short, one to two sentence, paragraphs about yourself
  8. Add the class "second" to the first paragraph
  9. Add the class "first" to the second paragraph
  10. Enclose both paragraphs in a<DIV> tag.
  11. Save the document on a diskette and turn it in to the instructor.

0 comments:

Post a Comment