Lists: HTML
Create a Definition List

The definition list is used to create a glossary of terms or to add a brief description to each list item.
Create a definition list by using the <DL></DL>tag pair.

Use <DT> to identify the term to be defined.

Use <DD> to specify the definition of the term.

Neither the <DT> nor the <DD> tag requires a closing tag.

Example
Terminology of Type
Ascender
The stroke that protrudes above the letter body
Descender
The stroke that protrudes below the letter body
Counter
The enclosed space in the letter body
Leading
The space between words or lines of type
The HTML for the above example of a definition list is:

<B>Terminology of Type</B>

<DL>

<DT>Ascender <DD>The stroke that protrudes above the letter body

<DT>Descender<DD>The stroke that protrudes below the letter body

<DT>Counter<DD>The enclosed space in the letter body

<DT>Leading<DD>The space between words or lines of type

</DL>

Most browsers will display each term and then display its definition on a separate indented line below the term.

Lists: HTML
Overview
Create an Unordered List
Create an Ordered List
Create a Definition List

 

Personal Home PageWeb Design CenterTutorial MenuTop of Page

Web Design Center
Last Revised: February 9, 2004
© Agatha Taormina