The <ol> tag

<ol> creates an ordered list where the sequence of items matters.

Syntax

<ol start="1">...</ol>

Attributes

start The number the list numbering begins at (default 1).
reversed Reverses the numbering direction (counting down instead of up).
type "1", "a", "A", "i", "I" — the marker format (digits, letters, Roman numerals).

Example

<ol start="5" type="a">
  <li>Item e</li>
  <li>Item f</li>
</ol>

Notes

  • type sets the STARTING numbering format for the whole list — it's a presentational attribute; for more control, use CSS list-style-type.

Related tools