Chapter 4 Using Lists and Backgrounds

To create an ordered (numbered) list

Creating Bulleted and Numbered Lists

<ol>
<li>text</li>
<li>text</li>
</ol>

Optional arguments:

type=

Specifies the number style; valid values are decimal, decimal-leading-zero, lower-roman, upper-roman, lower-alpha, upper-alpha, and none.

start=

Specifies the starting number; deprecated.

To create an item within an ordered or unordered list

Creating Bulleted and Numbered Lists

<li>text</li>

Optional argument:

value=

Specifies the number to be assigned to the list item (for ordered lists only); deprecated.

To create an unordered (bulleted) list

Creating Bulleted and Numbered Lists

<ul>
<li>text</li>
<li>text</li>
</ul>

Optional argument:

type=

Specifies the bullet style; valid ...

Get HTML and XHTML Step by Step 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.