HTML 5: The Markup Language (ARIA Edition)

olordered list # T

The ol element represents a list (or sequence) of items; that is, a list in which the items are intentionally ordered, such that changing the order would change the meaning of the list.

Content model #

Attribute model #

Element-specific attributes #

start = integer
The ordinal value of the first list item.
reversed = "reversed" | ""
If present, indicates that the list is a descending list (…, 3, 2, 1).
If not present, indicates that the list is an ascending list (1, 2, 3, …).

Tag omission #

An ol element must have both a start tag and an end tag.

Permitted contexts #

Typical default display properties #

ol {
display: block;
list-style-type: decimal;
margin: 1em 0 1em 0;
padding-start: 40px; }