<ol>
<ol> is a Sectional
component that defines an ordered (numbered) list. List items are nested within using an <li> tag.
Attributes and Properties
| Attribute | Type | Values |
|---|---|---|
cols = "…" | ||
label = "…" | text | |
level = "…" | ||
marker = "…" |
| Property | Type |
|---|---|
$o.disabled | boolean |
$o.fixed | boolean |
$o.fixLocation | boolean |
$o.hidden | boolean |
$o.label | text |
Example: <ol> with nested <li>
<ol> renders an ordered list, with list items given by <li> children. <ol>
should not contain any components other than <li> children. Individual <li> children
may themselves contain graphs, problems, paragraphs, and other content.
Attribute Example: level
When nesting <ol> components, the level attribute can be used to specify a
change in the counting marker for the inner lists.
Attribute 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.