CHAPTER 10

image

Styling Lists and Navigation Menus

HTML provides tags for three different types of lists: unordered (<ul>), ordered (<ol>), and definition (<dl>). Unordered lists are normally displayed as a series of bullet points; ordered lists are numbered; and definition lists are presented as a word or phrase followed by its definition, indented on the following line. Figure 10-1 shows examples of all three (the code is in lists.html in the ch10 folder).

9781430244738_Fig10-01.jpg

Figure 10-1.  The three types of lists supported in HTML

CSS regards the components of definition ...

Get Beginning CSS3 now with O’Reilly online learning.

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