liveBook · Manning

Ol element

The HTML ol element represents an ordered list whose items are presented in a meaningful sequential order, typically with numbered markers.

How 2 Manning books explain it

Build a Website with ChatGPT

An ordered list is an HTML list whose items are displayed in a meaningful sequence, typically with numeric markers.

How it is used
Organizes procedures, rankings, and recipe directions when item order carries meaning.
How deep it goes
Explains basic ol and li markup, reversal, custom starts, nesting, and list-style customization without deeper browser internals.
Examples
Demonstrates novelty-item lists, a reversed top-10 list, continued boiling steps, and nested recipe instructions.
What you can do after
Build it from scratch using ol and li tags, then reverse, continue, nest, or restyle the sequence.

Read how Build a Website with ChatGPT explains ol element →

Web Design Playground, Second Edition

An ordered list is an HTML list whose items are presented in sequential order with automatically generated markers.

How it is used
Creates numbered lists for information that must appear in sequential order.
How deep it goes
Defines <ol> and <li> construction, browser numbering, indentation, and automatic renumbering, but defers detailed styling.
Examples
Demonstrates procedure steps, recipe tasks, document sections, rankings, and a top-10 word-origin list.
What you can do after
Apply it via HTML to build automatically numbered lists whose markers update when items change.

Read how Web Design Playground, Second Edition explains ol element →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.