Skip to main content

html-tags.com

<ol>

An ordered list, where sequence carries meaning.

Baseline: Widely available · Grouping content

When to use it

For steps, rankings, and countdowns; reversed counts down, start offsets the numbering.

When not to

If reordering the items wouldn't change the meaning, it's a ul.

Key attributes

reversed
number descending
start
first number
type
numbering style (1, a, A, i, I)

Example

  1. Mix the dough.
  2. Rest twelve hours.
  3. Bake at 230 °C.
<ol>
  <li>Mix the dough.</li>
  <li>Rest twelve hours.</li>
  <li>Bake at 230 °C.</li>
</ol>
Rendered live above, source below.

Authoritative references