ORDERED LISTS
<ol>,
<li>
Make numbered lists.
<html>
<head>
<title>Ordered Lists</title>
</head>
<body>
<ol>
<li>The first item in the list.</li>
<li>The second item in the list.
This line is still part
of the second item.</li>
<li>The third item in the list.</li>
</ol>
</body>
</html>
Use <li> ... </li> tag for each item in the list.
Each item in the list is set off with a number. For lists without numbers see the previous topic, Unordered Lists. Ordered lists and unordered lists work the same.
Use ordered lists for lists that should be numbered, like lists of instructions. Don't try to number lists yourself. When you need to add an item or change the order, you get stuck making the changes. If you use an ordered list, your list gets renumbered automatically (and correctly) every time.
A list item can as long as you want. It can contain paragraphs and other lists.
Make an ordered list that contains unordered lists as list items.
Try different combinations of list of lists to see how they nest.
Copyright © 2000 P.J. LaBrocca. http://LaBrocca.com