Next Previous Contents HTML 4.0 compliance checked by http://validator.w3.org

10.0 Lists

This portion of the document gives a nested set of lists which both demonstrate and describe the HTML list features. The TYPE= attribute (used here) is deprecated and you're supposed to use the list-style CSS property instead. The outermost list in the following material is an unordered list <UL>.

When lists are nested the browser will generally cycle through the various list types. Here's a demonstration for unordered lists (UL). Each list has only one item which consists of a descriptive text followed by the next more deeply nested list.

Here's the same thing with ordered lists.

  1. Item at nesting level one.
    1. Item at nesting level two.
      1. Item at nesting level three.
        1. Item at nesting level four.
          1. Item at nesting level five.
            1. Item at nesting level six.

Next Previous Contents