<ol>

The <ol> element includes a list of items sorted by sequence or order of importance.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/ol

Example

Here are the colors of the rainbow in order of appearance from top to bottom:
<ol>
<li>Red</li>
<li>Orange</li>
<li>Yellow</li>
<li>Green</li>
<li>Blue</li>
<li>Indigo</li>
<li>Violet</li>
</ol>

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, compact, and spectitle.