CIT 597 Quiz 1: XHTML and CSS
Fall 2008, David Matuszek Name_________________________________________
  1. (3 points) Write a minimal but complete XHTML document to display "Hello World!" The first couple of lines are provided for you.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    <html xmlns="">
  2. (3 points) XHTML is more strict than HTML in several respects. List three of them.

  3. (3 points) Write a CSS rule for each of the following:

    1. Apply color:red to the contents of any tag that has the class="hot" attribute.

    2. Apply color:red to every <em> element that occurs within a paragraph.

    3. Set the background-color of all <code> elements to yellow.

  4. (1 point) Briefly, what is "V8"? (Hint: it's not vegetable juice.)