Lists in HTML
Unordered lists present items in bulleted form. Unordered lists can contain sublists.
Animals
<UL>
<LI>Dogs</LI>
<LI>Cats</LI>
</UL>
|
Animals
|
Animals
<UL>
<LI>Dogs</LI>
<UL>
<LI>Poodles</LI>
<LI>Beagles</LI>
</UL>
<LI>Cats</LI>
</UL>
|
Animals
|
Ordered lists present items in sequential form. The TYPE attribute
defines the sequence as Arabic numerals, Roman numerals, or letters. Arabic
numerals are the default. The START attribute defines the element at which the
sequence begins. The first element is the default. Ordered lists can also contain
sublists.
Animals
<OL>
<LI>Dogs</LI>
<LI>Cats</LI>
</OL>
|
Animals
- Dogs
- Cats
|
Animals
<OL TYPE="A">
<LI>Dogs</LI>
<OL START="3">
<LI>Poodles</LI>
<LI>Beagles</LI>
</OL>
<LI>Cats</LI>
</OL>
|
Animals
- Dogs
- Poodles
- Beagles
- Cats
|
Definition lists present terms with their corresponding definitions.
<DL>
<DT>Wombat</DT>
<DD>A small furry creature.</DD>
<DT>Bear</DT>
<DD>A large furry creature.</DD>
</DL>
|
- Wombat
- A small furry creature.
- Bear
- A large furry creature.
|
Technology Instruction | Publishing Information on the Web | Other Resources

Last updated January 31, 2000 by Sandra Stauffer
|