On this page
<ol>
Prev: `<ul>` | Up: text | Next: `<dl>`
Rel: text, Text & Lists Guide
Ref: MDN Web Docs — <ol>
Tags: #public #web #html #elements #text #tier/core
Summary
Ordered sequential list containing <li> items.
- Implicit ARIA Role:
list - DOM Interface:
HTMLOListElement - Key Attributes:
start, reversed, type
Notes & Best Practices
- Ordered list where sequence matters (steps, rankings): Supports
start="5"andreversedattributes; direct children should be<li>.
Example
<ol>
<li>Install dependencies</li>
<li>Run tests</li>
<li>Deploy</li>
</ol>
Linked from
Related notes
- tuts/html/elements/text/dl Linked here; links to this page; shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/ul Linked here; links to this page; shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text Linked here; links to this page; shared tags: #elements, #html, #text, #web
- tuts/html/elements/text_and_lists Linked here; shared tags: #elements, #html, #web
- tuts/html/elements/text/a shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/center shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/code shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/div shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/font shared tags: #elements, #html, #text, #tier, #web
- tuts/html/elements/text/h1 shared tags: #elements, #html, #text, #tier, #web