"Lists" in HTML take two forms: bulleted lists and numbered outlines. Both use the same conceptual framework.
Every list begins with one of the following tags:
<ol>
<ul>
<ol> stands for "ordered list," and refers to a numbered outline.
<ul> stands for "unordered list," and refers to a bulleted list.
These tags begin the process. By themselves, however, they are not enough. You need a tag that tells Netscape where each line begins. To do this, you will use the following tags:
</ol>
<li>Line
number 1
<li>Line number 2
<ol>
Notice that you do not need a </li> tag at the end of each line, but you do need a </ol> or </ul> tag at the end of the list. The <li> tag will indent the line and insert a number. In this case, for example, it would actually appear as follows:
You do not need to manually indent each line. Netscape will do that for you. If you did this list with bullets, you would write it as follows:
</ul>
<li>Line number
1
<li>Line number 2
<ul>
It would appear as follows:
You can make these lists as long or elaborate as you wish. You can include subsections, just as you would with any outline. In order to do this, you will simply create concentric circles, as one lists exists within another. For example, if you wanted to show the outline for a paper, you could write the following:
<ol>
<li>Introduction
<li>
;First section
<ol>
<li>Thesis
statement
<li>Examples
<li>Conclusion
</ol
62;
<li>Second
section
<ol>
<li>Illustrations
<li>Discu
ssion of
illustrations
</ol>
<li>Conclusion
</ol>
In order to make this work, the critical thing to keep in mind is that every <ol> must have an accompanying </ol>. Otherwise, Netscape will not be able to indent properly.
This list would look this way on Netscape:
You could do the same with an unordered list. Instead of using numbers, letters, and roman numerals to describe different levels of the outline, and unordered list would use bullets, squares, and circles.