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. |
||
|
|
|
| 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
Web Design Center
Last Revised:
February 9, 2004
© Agatha Taormina