In This Chapter
Understanding basic lists
Creating unordered, ordered, and nested lists
Building definition lists
Building basic tables
Using rowspan and colspan attributes
You'll often need to present large amounts of organized information, and XHTML has some wonderful tools to manage this task. XHTML has three kinds of lists and a powerful table structure for organizing the content of your page. Figure out how these tools work, and you can manage complex information with ease.
XHTML supports three types of lists. Unordered lists generally contain bullet points. They're used when the order of elements in the list isn't important. Ordered lists usually have some kind of numeric counter preceding each list item. Definition lists contain terms and their definitions.
All the list types in XHTML are closely related. The simplest and most common kind of list is an unordered list.
Look at the simple page shown in Figure 4-1. In addition to a couple of headers, it has a list of information.
Figure 4.1. An unordered list of Web browsers.
This list of browsers has some interesting visual characteristics:
The items are indented. There's some extra space between the left margin and the beginning of each list item.
The list elements have bullets. That little dot in ...