[home]

3. Create and test an XHTML that has describes nested ordered lists of cars. The outer list must have three entries: compact, midsize, and sports. Inside each of these three lists there must be two sublists of body styles. The compact and midsize car sublists are two door and four door; the sports car sublists are coupe and convertible. Each body style sublist must have at least three entries, each of which is the make and model of a particular car that fits the category (You can make up the data). The outer list must use uppercase Roman numerals, the middle lists must use uppercase letters, and the inner lists must use Arabic numerals. The background color for the compact car list must be pink; for the midsize car list, it must be blue; for the sports car list, it must be red. All of the styles must be in a document style sheet.

  1. compact
    1. two door
      1. 2005 Toyota Tacoma
      2. 2005 Dodge Dakota
      3. 2005 Ford F-150
    2. four door
      1. 2005 Dodge Magnum
      2. 2005 Audi A4
      3. 2005 Mercedes-Benz E-Class

  2. midsize
    1. two door
      1. 2005 Lincoln LS
      2. 2005 Lexus LX 470
      3. 2005 Chrysler Sebring
    2. four door
      1. 2005 Toyota Sienna
      2. 2005 Kia Sedona
      3. 2005 Nissan Quest

  3. sports
    1. coupe
      1. 2005 Chevrolet Corvette
      2. 2005 Mercedes-Benz CL-Class
      3. 2005 Mazda RX-8
    2. convertible
      1. 2005 Mercedes-Benz SL-Class
      2. 2005 BMW 6 Series
      3. 2005 Chevrolet Corvette


Valid XHTML 1.1!