HTML <ol> Tag
<p>Most popular fruit, in order, are:</p> <ol> <li>Pomelo</li> <li>Feijoa</li> <li>Lychee</li> </l>
The above example demonstrates usage of the
<ol> element represents an ordered list. An ordered list is a list of items, where the items have been intentionally ordered. On an unordered list, changing the order would change the meaning of the document. This is in contrast with an unordered list, where the order of its items is not important.
An ordered list contains
<li> elements — one for each item in the list.