Choosing Where to Start List Numbering

You might want to start a particular ordered list’s numbering somewhere other than 1 (which is the default).

To determine the initial value of an entire list’s numbering scheme:

Within the ol tag, type start="n", where n represents the initial value for the list.

To change the numbering of a given list item:

In the desired li item, type value="n", where n represents the value for this list item. The value is always specified numerically and is converted automatically by the browser to the type of marker specified with CSS or with the type attribute (see page 218).

✓ Tips

  • By default, all lists start at 1.

  • The value attribute overrides the start value.

  • When you change a given list item’s number with the value ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.