How the ordered list looks:
- The first item in the list
- The second item in the list
- The third item in the list
You can even nest a list inside of another list.
<OL>
<LI>The first item in the list
<LI>The second item in the list
<OL>
<LI>The first sub item
<LI>The second sub item
<OL>
<LI>One more sub item
</OL>
<LI>The third sub item
</OL>
<LI>The third item in the list
</OL>
NOTE: Each nested list in the example above is indented for readability. The spacing does not effect the rendering of the lists.
This is what it looks like:
- The first item in the list
- The second item in the list
- The first sub item
- The second sub item
- One more sub item
- The third sub item
- The third item in the list
You can define how the list is numbered by inserting an attribute inside of either the <OL> tag or the <LI> tag. You can even define what number the list should start at.
How to define the numbering:
<OL TYPE=A>
<LI>The first item
<LI>The second item
<LI>The third item
</OL>
- The first item
- The second item
- The third item
|
<OL TYPE=a>
<LI>The first item
<LI>The second item
<LI>The third item
</OL>
- The first item
- The second item
- The third item
|
<OL TYPE=I>
<LI>The first item
<LI>The second item
<LI>The third item
</OL>
- The first item
- The second item
- The third item
|
<OL TYPE=i>
<LI>The first item
<LI>The second item
<LI>The third item
</OL>
- The first item
- The second item
- The third item
|
<OL TYPE=1>
<LI>The first item
<LI>The second item
<LI>The third item
</OL>
- The first item
- The second item
- The third item
|
<OL START=4>
<LI>The fourth item
<LI>The fifth item
<LI>The sixth item
</OL>
- The fourth item
- The fifth item
- The sixth item
|
Last Modified: Saturday, 25-Jul-98 10:21:38 PDT Page URL: http://geocities.datacellar.net/SiliconValley/Vista/2823/lists_ol.html
|