<ol>

An ordered list is a list of items that are sorted by sequence or order of importance.

List items are typically indicated by numbers or alphabetical characters.

( <data> | <sort-as> )*, <li> +

Contained by

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

In order
  1. Zero or more of the following
  2. One or more <li>

Contained by

- topic/ol

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

The following attributes are available on this element: universal attributes and @compact.

The following attributes are available on this element: universal attributes and the attributes defined below.

Specifies whether the vertical spacing between list items is tightened. The following values are valid: yes, no, and -dita-use-conref-target. Some DITA processors or output formats might not support the @compact attribute.

Example

This section is non-normative.

The following code sample shows the use of an ordered list:

<p>Here is a list of the five longest-living people who were born in the 19th century:</p>
<ol>
  <li>Jeanne Calment (1875-1997)</li>
  <li>Sarah Knauss (1880-1999)</li>
  <li>Marie-Louise Meilleur (1880-1998)</li>
  <li>Emma Morano (1899-2017)</li>
  <li>Misao Okawa (1898-2015)</li>
</ol>
<p>Note that systematic verification has only been practised in recent years and only
 in certain parts of the world.</p>