Definition Lists


Up ] Unordered Lists ] Ordered Lists ] Outlines ] [ Definition Lists ]

 


A definition list organizes your text into two parts: A Definition Term, which is formatted BOLD, and a definition which is normal text, but indented.

 

A Definition List
A Definition List is an HTML List which is neither bulleted or numbered. The definition term is indented.
<DL>
<DT>A Definition List</DT>
<DD>A Definition List is an HTML List which is neither bulleted or numbered. The definition term is indented.</DD>
</DL&gt;
 

The <DL> tag is used to introduce the Definition List, much like the <UL> is used. When the list is completely finished, you must close the list with a </DL>

Each term within a definition list must be nested inside the <DT> </DT> tag pair. In a longer list, the terms will appear against the left margin, and the definitions will all be indented.

The definition itself must be nested within the <DD> </DD> tag pair. This tag forces the text nested inside to be block indented within the browser.

After the final term is defined, you should close your list with the </DL> tag.

Definition lists can be used for more than just definitions. You can use them to organize an appointment calendar, A list of links, Family history by member, and much much more.