<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

This section is non-normative.

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>

Content model

(<data> | <data-about>)*, <li>+

Contained by

<abstract>, <body>, <bodydiv>, <dd>, <desc>, <div>, <draft-comment>, <entry>, <example>, <fig>, <figgroup>, <fn>, <itemgroup>, <li>, <linkinfo>, <lq>, <note>, <p>, <section>, <sectiondiv>, <stentry>

In order
  1. Zero or more of the following
    • <data>
    • <data-about>
  2. One or more <li>

Contained by

  • <abstract>
  • <body>
  • <bodydiv>
  • <dd>
  • <desc>
  • <div>
  • <draft-comment>
  • <entry>
  • <example>
  • <fig>
  • <figgroup>
  • <fn>
  • <itemgroup>
  • <li>
  • <linkinfo>
  • <lq>
  • <note>
  • <p>
  • <section>
  • <sectiondiv>
  • <stentry>

Inheritance

- topic/ol

The <ol> element is a base element type. It is defined in the topic module.

Attributes

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