Larger Text Normal Text Smaller Text

IT 280 Web Development II, Spring 2008

 

Lab/Homework assignment 2

For this exercise, make copies of the following documents

The HTML is already completed. DO NOT CHANGE OR ADD ANYTHING IN THE HTML DOCUMENT. You will need to study the HTML source code to decide how to write selectors.

Your task is to add rules to the style sheet. Open your copy of the stylesheet file Crimson Editor (or other editor of your choice) so you can modify it. If you prefer to work directly on wyrd.hood.edu, that is fine.

The IT 180 class site has a short summary of some common style properties.

  1. The headings should be in Times New Roman or other serif font
  2. The first paragraph in the first three sections (headed by h2) should
    1. be 120% of normal font size
    2. have its first line in italics
    3. Have its first letter bold and sized 200% of normal
  3. The Latin words in the sections above the horizontal rule (though not those in the lists below that line) should be in ITC Zapf Chancery or other cursive font.
  4. The highest-level list should have list-style-type: upper-roman.
  5. The second-level lists should have list-style-type: upper-alpha.
  6. The third-level lists should have list-style-type: decimal.
  7. Anchors in paragraphs should be red
  8. Anchors in lists should be green
  9. All anchors should have a yellow background color when you hover over them

Reminder: Do not add anything to the HTML, including class attributes. IDs, or inline style rules.

Deliverables

Comments to: chang@hood.edu
Last Modified: 27 January 2008. 21:08
Valid CSS! Valid XHTML 1.0!

 

Hood College Department of Computer Science: Course materials © 1997-2006 by Elizabeth Chang.