<ol>

<ol> defines an ordered (numbered) list. List items are nested within using an <li> tag.

Attributes and Properties

Attributes for <ol>
AttributeTypeValues
cols = "…"
label = "…"text
level = "…"
marker = "…"
Props for <ol name="o">
PropertyType
$o.labeltext

Example: <ol> with nested <li>

<ol> renders an ordered list, with list items given by <li> children. <ol> is a Sectional component and should not contain any components other than <li> children. Individual <li> children may themselves contain graphs, problems, paragraphs, and other content.


Example: level

When nesting <ol> components, the level attribute can be used to specify a change in the counting marker for the inner lists.


Example: marker

Use the marker attribute to indicate a specific counting marker for the list. See the level example for the default markers at each level.