dl
Definition and Usage
The <dl> tag defines a description list. The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name). In a description list (also known as an association list or a definition list), each list item contains two or more entries; a term (dt) and a description (dd). The HTML<dl>
element represents a description list. The element encloses a list of groups of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).
Syntax
The<dl>
tag is written as <dl>
</dl>
with the <dr> and <dd> elements inserted between the start and end tag. The number of those elements will depend on the number of definition terms and descriptions in the list.
Like this:
<dl>
<dt>Term...</dt>
<dd>Description...</dd>
<dt>Term...</dt>
<dd>Description...</dd>
</dl>