Ordered Lists

9/30/99

HTML provides three list facilities, ordered, unordered and definition lists. Ordered lists can include numbers or letters for the ordering. To create an ordered list you use the <OL>...</OL> tags. In between these two tags you specify the list items that should appear using the <LI>...</LI> tags. With ordered lists you can set the ordering type by using the TYPE attribute. The default is a numbered list. TYPE=A is uppercase letters, TYPE=a is lowercase letters, Type=I is uppercase roman numerals and TYPE=i is lowercase roman numerals. Additionally, you can define the starting value of the list using START=X, where X is the number that you want to begin with. Finally, you can also nest lists as shown by the last list on this page.


Example Ordered List (Numbers)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Ordered List (Aphabetical/Uppercase)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Ordered List (Alphabetical/Lowercase)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Ordered List (Roman Numeral/Uppercase)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Ordered List (Roman Numeral/Lowercase)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Ordered List (with specified starting value)

  1. My Item 1
  2. My Item 2
  3. My Item 3

Example Nested Ordered List

  1. My Item 1
  2. My Item 2
  3. My Item 3
    1. Sublist 1
    2. Sublist 2
    3. Sublist 3
  4. My Item 4