<ol>

The ordered list element represents a list of items where sequence is meaningful.

Since HTML 2.0 Spec ↗

Syntax

<ol><li>...</li></ol>

Examples

<ol start="3" reversed>
  <li>Third place</li>
  <li>Second place</li>
  <li>First place</li>
</ol>
Output
Renders a numbered list starting at 3 and counting down because of the reversed attribute.

Notes

Supports start, reversed, and type attributes. Use <ol> for steps, rankings, and any sequence where reordering changes meaning.

Browser & runtime support

EnvironmentSince version
chrome 1.0
firefox 1.0
safari 1.0
edge 12

See also