Unordered Lists |
Ordered Lists |
HTML for People Who Want to Learn -- Lists for Starters |
Definition lists are very useful when you want to make a list of terms with their definitions. Definition lists do not have to be used for only vocabulary words and the like. A definition list can also be used to name a short phrase and give its explanation.
<DT>
The definition term is denoted by <DT>.
<DD>
The definition data or definition is denoted by <DD>.
<DL>
Begin the definition list
<DL>
<DT>The first term
Type <DT> before each term
(<DT> does not require a closing tag)
<DL>
<DT>The first term
<DD>The definition of the first term
Type <DD> before each definition
(<DD> does not require a closing tag)
<DL>
<DT>The first term
<DD>The definition of the first term
<DT>The second term
<DD>The definition of the second term
<DT>The third term
<DD>The definition of the third term
Insert all the terms and definitions
<DL>
<DT>The first term
<DD>The definition of the first term
<DT>The second term
<DD>The definition of the second term
<DT>The third term
<DD>The definition of the third term
</DL>
To end the definition list, type the closing tag
Back to Ordered Lists |
Home |
Lists for Starters |
E-mail |
Last Modified: Saturday, 18-Jul-98 21:51:07 PDT
Page URL: http://geocities.datacellar.net/SiliconValley/Vista/2823/text/lists_dl.html