HTML and CSS Reference
In-Depth Information
Name
ol
Synopsis
<ol> . . . </ol>
Defines an ordered (numbered) list that consists of one or more list items (
li
). The user agent
inserts item numbers automatically.
Usage
Categories:
Flow content; if its children include at least one
li
element, then palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
Zero or more
li
elements
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
reversed
(
reversed="reversed"
in XHTML)
Not in HTML 4.01
. Reverses the numbering sequence, from highest to lowest value.
start="
number
number
"
Starts the numbering of the list at
number
instead of at 1.