O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

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

Displaying Data Using Lists

HTML features support for two list types—ordered lists (in which each list item is automatically numbered) and unordered lists (in which list items are preceded by bullets). Creating HTML lists is very simple:

1.
Start the list with <ul> (for an unordered list) or <ol> (for an ordered list).
2.
End the list with a matching end tag (</ul> or </ol>).
3.
Between the list’s start and end tags, specify the list members (called list items) between <li> and </li> tags.

For example, the following is a simple bulleted (unordered) list containing three names:

<ul>
 <li>Ben Forta</li>
 <li>Nate Weiss</li>
 <li>Ray Camden</li>
</UL>

The numbered (ordered) equivalent of this list would be:

<ol> <li>Ben Forta</li> <li>Nate Weiss</li> ...

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