Interactive online courses HTML Academy
2026-03-09 12:56 Diff

Order exists so that it can be broken. You decide to supplement the previous post with two more lists. But with one of them the numbering will go in the reverse order, and in the other one it will not begin with one. This is done using the start and reversedattributes on the ordered list tag.

By default, the numbering of items starts with one, and by using start you can change this starting number. The numbering of list items may also be negative.

Code example:

<ol start="3"> <li>One</li> <li>Two</li> </ol>

The reversed attribute reverses the numbering direction. This attribute does not need a value.

You can use another attribute, type, to assign different types of markers instead of the usual Arabic numerals: lowercase and uppercase Latin letters or Roman numerals. The possible values for this attribute are:

  • 1: Decimal number;
  • a: Lowercase letters in the Latin alphabet;
  • A: Uppercase letters in the Latin alphabet;
  • i: Lowercase Roman numerals;
  • I: Uppercase Roman numerals.