<ol>
<ol>
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.label | text |
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.