DL Element: Glossary Lists
This list type, also known as a definition list, is used
to present a list of items along with descriptive paragraphs.
This can be used for glossaries, but is also useful
for presenting a named list of items and their meanings.
The items within the list are introduced by the two
elements
<DT> -- The "Term" (a single line)
<DD> -- The "Definition" (may be multiple lines)
DL Lists example:
<DL>
<DT> Things to Avoid:
<DD> You should NOT use elements that define
paragraph formatting within the PRE element.
This means you should not use <P>,
<ADDRESS>, <Hn> and so
on.
<DT> Things That are OK:
<DD>You <EM> can </EM> use Anchor. A
typed carriage return will cause a new line in the
presented text. People you should never let format
lists include:
<UL>
<LI> Bozo the Clown
<LI> Uncle Fester
<LI> Dirty Harry
</UL>
Which would be downright silly in the first place.
</DL>
This is rendered as:
- Things to Avoid:
- You should NOT use elements that define paragraph
formatting within the PRE element. This means you should
not use
<P>, <ADDRESS>, <Hn> and so on.
- Things That are OK:
- You can use Anchor. A typed carriage return will
cause a new line in the presented text.
People you should never let format lists include:
- Bozo the Clown
- Uncle Fester
- Dirty Harry
Which would be downright silly in the first place.