Ordered (i.e. numbered) Lists

Ordered (i.e. numbered) lists take the form:

    <OL>
	  <LI> ... first list item
	  <LI> ... second list item
	  ...
	</OL>

The OL START attribute can be used to initialize the sequence number (by default it is initialized to 1). You can set it later on with the VALUE attribute on LI elements. Both of these attributes expect integer values. You can't indicate that numbering should be continued from a previous list, or to skip missing values without giving an explicit number.

The COMPACT attribute can be used as a hint to the user agent to render lists in a more compact style. The OL TYPE attribute allows you to set the numbering style for list items:

Type Numbering style
1 Arabic numbers1, 2, 3, ...
a lower alphaa, b, c, ...
A upper alphaA, B, C, ...
i lower romani, ii, iii, ...
I upper romanI, II, III, ...