|
The <li> element defines a list item within a list. The li element
is used with the ol or ul list tags.
The following is a default order list tag.
The following is a default order list tag.
<ol>
<li>Put on underwear.</li>
<li>Pull over shirt.</li>
<li>Pull up trowsers.</li>
<li>Put on socks.</li>
<li>Put on shoes.</li>
</ol>
The following is a default unordered list tag.
The following is a default unordered list tag.
<ul>
<li>Life</li>
<li>Liberty</li>
<li>Pursuit of Happiness</li>
</ul>
The following is a default style of definition list. Defining
Mesozoic era of earth history (dinosaurs).
The following is a default style of definition list. Defining
Mesozoic era of earth history (dinosaurs).
<dl>
<dt/>
<dt>Triassic</dt>
<dd>245 to 208 million years ago.</dd>
<dt>Jurassic</dt>
<dd>208 to 144 million years ago.</dd>
<dt>Cretaceous</dt>
<dd>144 to 65 million years ago.</dd>
</dl>
|
||