Menu
The ol
tag, or Ordered List element, is used to designated an ordered list, which can be either numerical or alphabetical.
The <li>
tag is used inside of the <ol>
tag to designate each list item.
<ol>
<li>A list item in an ordered list</li>
<li>Another list item in an ordered list</li>
<li>And another list item in an ordered list</li>
</ol>
reversed
Designates that the order of the list items should be reversed.
start
A numerical start value for the list.
type
Designates which type of marker to use for the list. Possible values: 1
, A
, a
, I
, or i
.
Have a code example of <ol>
? Submit a codepen.io demo and we'll showcase it here ↴