Definition Lists (Glossaries)

Definition Lists are container elements that contain terms and descriptions, similar to a Glossary. The structure of a Definition List is:

<DL>
</DL>

Instead of the List Item element used by previous lists, Definition Lists consist of a pair of empty elements that identify the Definition Term and Definition Description, as follows:

<DL>
<DT>Term 1
<DD>Description of Term 1.
<DT>Term 2
<DD>Description of Term 2.
</DL>

This would produce the following results:

Term 1
Description of Term 1.
Term 2
Description of Term 2.

Let's look at a more robust example (thanks to Webster's Revised for the definitions):

<DL>

<DT>declaration
<DD>\Dec`la*ra"tion\, n. [F. d['e]claration, fr. L. declaratio, fr. declarare. See Declare.] 1. The act of declaring, or publicly announcing; explicit asserting; undisguised token of a ground or side taken on any subject; proclamation; exposition; as, the declaration of an opinion; a declaration of war, etc.
<P>
<DT>preamble
<DD>\Pre"am`ble\, n. [LL. praeambulum, from L. praeambulus walking before, fr. praeambulare to walk before; prae before + ambulare to walk: cf. F. pr['e]ambule. See Amble.] A introductory portion; an introduction or preface, as to a book, document, etc.; specifically, the introductory part of a statute, which states the reasons and intent of the law.

</DL>

This would produce the following results:

declaration
\Dec`la*ra"tion\, n. [F. d['e]claration, fr. L. declaratio, fr. declarare. See Declare.] 1. The act of declaring, or publicly announcing; explicit asserting; undisguised token of a ground or side taken on any subject; proclamation; exposition; as, the declaration of an opinion; a declaration of war, etc.

preamble
\Pre"am`ble\, n. [LL. praeambulum, from L. praeambulus walking before, fr. praeambulare to walk before; prae before + ambulare to walk: cf. F. pr['e]ambule. See Amble.] A introductory portion; an introduction or preface, as to a book, document, etc.; specifically, the introductory part of a statute, which states the reasons and intent of the law.

Note: there are no common attributes that you can pass to <DL>, <DT>, or <DD>.

     

     

     

    Copyright © 2001 Michael J. Doyle
    All Rights Reserved.

    Designed & Developed by Mike Doyle
    using Macromedia Dreamweaver & CourseBuilder

    See Mike's Training Schedule for
    HTML, Dreamweaver, & CourseBuilder Courses


    Email Mike Doyle