<ol><li>

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

The OL element defines an ordered list, and the LI element defines each list item.


<ol>
<li>first list item</li>
<li>second list item</li>
<li>third list item</li>
</ol>

Example


<ol>
<li>First list item</li>
<li>Second list item</li>
<li>Third list item</li>
</ol>

Output
  1. First list item
  2. Second list item
  3. Third list item