Chapter 6. Creating Lists

In this lesson, you will learn to use HTML to organize your text into lists.

Types of Lists

One way to organize the text in your Web pages is with lists. In addition to the obvious benefit of being able to list items on a page, they also provide a design benefit by enabling you to break up long pages of ordinary paragraphs. HTML recognizes the following list types and has tags that correspond to each:

  • Bulleted (unordered) lists

  • Numbered/lettered (ordered) lists

  • Definition lists

Tip

Tip

You should use ordered lists when the items in the list must be followed in a specific order, and use unordered lists when they do not. You generally ...

Get Sams Teach Yourself HTML in 10 Minutes, Fourth Edition 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.