HTML <ol> tag

Usage

Defines an ordered list, where the order of the list items is important. By default items will be labelled with a number.

Example

Code:

<ol>
<li>Cook pasta</li>
<li>Stir in sauce</li>
<li>Enjoy!</li>
</ol>

Output:

  1. Cook pasta
  2. Stir in sauce
  3. Enjoy!

Required Attributes

  • none

Optional Attributes

  • none

Core Attributes