An ordered list
ol
The ol element groups a series of items into a numbered list.
Each item in an ordered list is preceded by a sequential value.
The numbering system may be numerals, letters, roman numbers, etc. The browser can rely on the type attribute or CSS to determine what numbering system to use.
Properties
- type
- How the list should be numbered, the default is numerals:
1
numeralsa
lowercase lettersA
uppercase lettersi
lowercase Roman numeralsI
uppercase Roman numerals- start
- The number of the first item in the list. Defaults to "1". Use this when a list is broken into two of more separate groups and the numbering shouldn't restart at "1" each time.
- reversed
- The items in the list should be numbered in reverse order.
Example
Subordinates
- li
- One li element is used for each item in a numbered or bulleted list.