HTML and CSS Reference
In-Depth Information
<li>Pickled Kumquats</li>
<li>'Quats and 'Kraut (a holiday favorite!)</li>
There are so many more to please every palate!
Figure 7-1. A simple unordered list
Tricky HTML authors sometimes use nested unordered lists, with and
without <li> -tagged items, to take advantage of the automatic, success-
ive indenting. You can produce some fairly slick text segments that way.
Just don't depend on it for all browsers, including future ones. Rather,
it's best to use the border property with a style definition in the para-
graph ( <p> ) or division ( <div> ) tag to indent nonlist sections of your doc-
ument (see Chapter 8 ) .
Search WWH ::

Custom Search