ol : Numbered list.

[next] [prev] [prev-tail] [tail] [up]

#### 5.3.22 ol : Numbered list.

The ol tag starts a numbered list. It can contain only li (192) tags, which denote the various elements in the list. Each item will be preceded by a number. The ol tag can occur inside a text, but surrounding text should always be enclosed in a p (207) paragraph tag, i.e. an ol tag should occur always at the same level as a p tag.

Example:

<p>some text before</p>
<ol>
<li>First item in the list</li>
<li>Second item in the list</li>
</ol>

Will be typeset as:

some text before

1. First item in the list.
2. Second item in the list.

See also: li (192), ul (234).

[next] [prev] [prev-tail] [front] [up]