Tag
Defines an ordered list — typically rendered as a
numbered list.
display: block;
Attributes
reversed
This Boolean attribute specifies that the
list’s items are in reverse order. Items will be
numbered from high to low.
start
An integer to start counting from for the list
items. Always an Arabic numeral (1, 2, 3, etc.),
even when the numbering type is letters or Roman
numerals. For example, to start numbering elements
from the letter “d” or the Roman numeral “iv,” use
start=“4”.
type
Sets the numbering type:
- a for lowercase letters
- A for uppercase letters
- i for lowercase Roman numerals
- I for uppercase Roman numerals
- 1 for numbers (default)
Examples
<ol type="i">
<li>Introduction</li>
<li>List of Grievances</li>
<li>Conclusion</li>
</ol>
<p>Finishing places of contestants not in the
winners' circle:</p>
<ol start="4">
<li>Speedwalk Stu</li>
<li>Saunterin' Sam</li>
<li>Slowpoke Rodriguez</li>
</ol>