O'Reilly logo

HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages by Rob Huddleston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. USING LISTS

Add a Bulleted List to Your Page

Most Web sites contain lists. Whether you are an e-commerce site displaying your products, or a non-profit site showing your members, you need lists. All navigation on the Web can be argued to be a list; after all, navigation is really nothing more than a list of links to the other pages on the site.

Perhaps the most common type of list on Web sites is an unordered, or bulleted, list. Any list that contains items that do not need to appear in a particular order will be an unordered list. The list is defined via the <ul> tag. Within the <ul> tag block, each item is denoted by a list item element: <li>. Here is the basic setup of an unordered list:

<ul> <li>List Item</li> <li>List Item</li> </ul> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required