Lil Regie's front-end workshop


Ordered list

An ordered list uses numerals as markers.

Example

0 375 640 768 1024

Open in a new window

Code sample

1
2
3
4
5
6
7
8
<ol>
  <li>First item</li>
  <li>
    Second item<br>
    With text on the next line
  </li>
  <li>Third item</li>
</ol>

Usage notes

  • No elements are allowed between the <ol> and <li> elements.

Source files