Building Lists

You can use lists in a number of ways—to present step-by-step instructions, an outline, key points or details, or even a collection of links. HTML enables you to create two types of lists: ordered (typically numbered) and unordered (typically bulleted).
The following sections introduce the tags required to create ordered and unordered lists.

Getting Unorderly with Unordered Lists

To create an unordered list, bracket the list with an opening and closing <ul> tag, and bracket each list item with an opening and closing <li> tag, like so:
093
Figure 5.1 shows what this list looks like when displayed in Internet Explorer.
Figure ...

Get The Complete Idiot's Guide® To HTML5 and CSS3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.