Lists Examples

HTML 3.2 supports five kinds of lists:

  1. Unordered Lists
  2. Ordered Lists
  3. Definition Lists
  4. Menu Lists
  5. Directory Lists

Most browsers render the last two kinds as unordered lists; future versions of HTML may make a more obvious distinction

Unordered (bulleted) List

Note that the browser "remembered" the square bullet for Item 5 because of the bullet type specification in the previous item.

Ordered (numbered) List

  1. Ordered lists default as numbered lists
  2. Item 2
  3. Item 3
  1. But they can also be alphabetical lists
  2. With capital letters
  3. Or,
  1. Alphabetical lists
  2. With small letters
  3. Or,
  1. Numbered lists
  2. With upper case Roman numerals
  3. Or,
  1. Numbered lists
  2. With lower case Roman numerals

Nested Lists

Finally, ordered and unordered lists can be nested to form an outline

  1. Item 1
    1. Point 1
    2. Point 2
      • Subpoint 1
      • Subpoint 2
    3. Point 3
    4. Point 4
  2. Item 2

Definition Lists

Definition lists allow you to create a glossary structure

Topic
Definition
Topic
Definition
Topic in boldface
Definition in italics

Menu Lists

The menu list is a logical style that doesn't look any different from an unordered list. Future versions of HTML may take better advantage of it.
  • Choice 1
  • Choice 2
  • Choice 3
  • A directory list is a logical style that doesn't look any different from an unordered list. Future versions of HTML may take better advantage of it.
  • Entry 1
  • Entry 2
  • Entry 3
  • Copyright 1998, Marc Elliot Hall, DBA Sensation! Services