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
Presents recipe steps and other items whose sequence matters.
How deep it goes
Defines the <ol> and <li> structure and explains prompting for reversed or continued numbering, without detailing their generated HTML attributes.
Examples
Uses a generated novelty-item list, a countdown, and numbered recipe instructions.
What you can do after
Apply it via ChatGPT to generate ordered lists, then edit item text or customize nested numbering.

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.