New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

# ol

Defines an ordered list.

Example: Copy

  1. Step one
  2. Step two
  3. ????
  4. PROFIT!!!
<ol>
<li>Step one</li>
<li>Step two</li>
<li>????</li>
<li>PROFIT!!!</li>
</ol>

type

Defines how the list is numbered.

"1"

Default.

Uses numbers.

"a"

Uses lowercase letters.

"A"

Uses uppercase letters.

"i"

Uses lowercase Roman numerals.

"I"

Uses uppercase Roman numerals.

start

Defines a number to start the list with.

"3"

You can use any integer.

reversed

Reverses the order of the list.

No value required.