Chapter 7. Formatted Lists
7.1.1. The <ul> Tag
<html>
<body>
Popular Kumquat recipes:
<ul>
<li>Pickled Kumquats</li>
<li>’Quats and ‘Kraut (a holiday favorite!)</li>
<li>’Quatshakes</li>
</ul>
There are so many more to please every palate!
</body>
</html>

7112

7.2.1. The <ol> Tag
<html>
<body>
<h3>Pickled Kumquats</h3>
Here’s an easy way to make a delicious batch of pickled ‘quats:
<ol>
<li>Rinse 50 pounds of fresh kumquats</li>
<li>Bring eight gallons white vinegar to rolling boil</li>
<li>Add kumquats gradually, keeping vinegar boiling</li>
<li>Boil for one hour, or until kumquats are tender</li>
<li>Place in sealed jars and enjoy!</li>
</ol>
</body>
</html>

7214

7.2.1.1. The start attribute
<html>
<body>
<ol start=5>
<li> This is item number 5.</li>
<li> This is number six!</li>
<li> And so forth…</li>
</ol>
</body>
</html>

72112

7.2.1.2. The type attribute
<html>
<body>
<ol start=8 type=”i”>
<li> This is the Roman number 8.
<li> The numerals increment by 1.
<li> And so forth…
</ol>
</body>
</html>

72122

7.3.1.1. The type attribute
<html>
<body>
<ol>
<li type=A>Changing the numbering type</li>
<li type=I>Uppercase Roman numerals</li>
<li type=i>Lowercase Roman numerals</li>
<li type=1>Plain ol’ numbers</li>
<li type=a>Doesn’t alter the order.</li>
<li> &lt;– But, although numbering continues sequentially,</li>
<li> types don’t persist. See? I should’ve been a “g”!</li>
</ol>
</body>
</html>

73112

7.3.1.2. The value attribute
<html>
<body>
<ol>
<li>Item number 1</li>
<li>And the second</li>
<li value=9> Jump to number 9</li>
<li>And continue with 10…</li>
</ol>
</body>
</html>


73122

7.4.1. Nested Unordered Lists

<html><body><ul> 
<li>Morning Kumquat Delicacies 
<ul><li>Hot Dishes    
<ul><li>Kumquat omelet</li>      
<li>Kumquat waffles      
<ul><li>Country style</li>
<li>Belgian</li>  
</ul></li>  
 <li>Kumquats and toast</li>    
</ul></li>   
<li>Cold Dishes    
<ul><li>Kumquats and cornflakes</li>     
<li>Pickled Kumquats</li><li>Diced Kumquats</li>   
</ul></li> </ul> </li></ul></body></html>
7411

7.4.2. Nested Ordered Lists

<html>
<body><ol type="A"> 
<li>A History of Kumquats</li>  <ol type="1">   
<li>Early History</li>    <ol type="a">      
<li>The Fossil Record</li>      
<li>Kumquats: The Missing Link?</li>  
 </ol>    <li>Mayan Use of Kumquats</li>  
 <li>Kumquats in the New World</li> 
</ol>  <li>Future Use of Kumquats</li></ol>
</body>
</html>
7421

7.5.1. The <dl> Tag
<html>
<body>
<h3>Common Kumquat Parasites</h3>
<dl>
<dt>Leaf mites</dt>
<dd>The leaf mite will ravage the Kumquat tree, stripping it
of any and all vegetation.</dd>
<dt>Trunk dropsy</dt>
<dd>This microscopic larvae of the common opossum
chigger will consume the structural elements of the
tree trunk, causing it to collapse inward.</dd>
</dl>
</body>
</html>

751

7.7.1. The <dir> Tag (Deprecated)
<html>
<body>
The distribution tape has the following files on it:
<dir>
<li><code>README</code></li>
<li><code>Makefile</code></li>
<li><code>main.c</code></li>
<li><code>config.h</code></li>
<li><code>util.c</code></li>
</dir>
</body>
</html>

771

7.8.1. The <menu> Tag (Deprecated)
<html>
<body>
Some popular kumquat recipes include:
<menu>
<li>Pickled Kumquats</li>
<li>’Quats and ‘Kraut (a holiday favorite!)</li>
<li>’Quatshakes</li>
</menu>
There are many more to please every palate!
</body>
</html>

781