Lists: Definition Lists

Definition lists are a little bit different from the other kinds of lists, but they're similar. The purpose of a definition list is to create—surprise, surprise—a list of definitions of terms. Here's what a definition list with two terms looks like:

Curious
Eager to learn more; Unduly inquisitive; prying; arousing interest because of novelty or strangeness.
Cat
A small carnivorous mammal (Felis catus or F. domesticus) domesticated since early times as a catcher of rats and mice and as a pet and existing in several distinctive breeds and varieties.

Here's what the code looks like:

<dl>
<dt>Curious</dt>
<dd>Eager to learn more; Unduly inquisitive; prying;
arousing interest because of novelty or strangeness.</dd>
<dt>Cat</dt>
<dd>A small carnivorous mammal (<em>Felis catus or F. domesticus</em>)
domesticated since early times as a catcher of rats and mice and as a pet
and existing in several distinctive breeds and varieties.</dd>
</dl>

<dl> means "definition list"

<dt> means "definition term"

<dd> means "definition description"

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.