W22d Review questions and answers Objectives ---------- A. Define "List" is used in HTML terminology B. Identify the basic types of lists (ordered and unordered) C. Recognize the correct syntax for creating ordered and unordered lists D. Recognize the correct syntax for changing the type and starting number of ordered lists E. Recognize the correct syntax for nesting lists F. Describe how the major browsers handle bullets in nested unordered lists Questions --------- (Answers are at the end of this document.) 1. Define "List" as used in HTML terminology [W22dA1s] 2. What are the two basic types of lists? [W22dB1s] 3. Write the XHTML code for a list similar to this: (the period represents a printer's "bullet") [W22dC1s] . Music . Rhetoric . Grammar 4. Write the XHTML code for a list similar to this: [W22dC2s] 1. Michigan 2. Indiana 3. Ohio 5. Write the XHTML tag to specify an ordered list which, instead of numbers, has upper-case alphabetic letters: [W22dD1s] 6. Write the XHTML tag to specify an ordered list which, instead of numbers, has lower-case roman numerals: [W22dD2s] 7. Write the XHTML tag for an unordered list which specifies filled-circle bullets: [W22dD3s] 8. Write the XHTML tag to specify an ordered list which, instead of starting at 1, begins with number 5: [W22dD4s] 9. Write XHTML code to create this list: [W22dE1s] I. Produce a. lemons b. kiwi II. Dairy a. buttermilk b. yoghurt 10. Draw bullets on this list so it will look like the rendering in one of the major browsers. [W22dF1s] State of Michigan County of Washtenaw City of Ann Arbor City of Ypsilanti County of Livingston City of Brighton City of Howell Answers ------- 1. A List in HTML is a series of items each preceded by a marker and displayed using a hanging indent. [W22dA1s] 2. Ordered and unordered. 3. [W22dC1s] 4. [W22dC2s]
  1. Michigan
  2. Indiana
  3. Ohio
5. [W22dD1s]
    6. [W22dD2s]
      7. [W22dD3s]