Ordered Lists
[Top] [Up] [Next] [Previous]

7.1 - Ordered Lists

The OL element is used with LI for each item to represent ordered lists:

	<LI>Wake up
	<LI>Get dressed
	<LI>Have breakfast
	<LI>Drive to work
which is usually rendered as:

  1. Wake up
  2. Get dressed
  3. Have breakfast
  4. Drive to work
The COMPACT attribute when present e.g. <OL COMPACT> has the effect of reducing inter-item spacing. The numbering style is the responsibility of the browser. Other styles use roman numerals or letters from the alphabet in upper or lower case. One issue for browsers, is how to render ordered lists, nested within a list of the same type. List item text can't include headers, see the DTD in Appendix I for details.

HTML+ Discussion Document - November 8, 1993

[Top] [Up] [Next] [Previous]