HTML <dl> Tag
<h4>Band Members</h4>
<dl>
<dt>Vocals</dt>
<dd>Jason Bond</dd>
<dt>Guitar</dt>
<dd>James Bourne</dd>
<dt>Bass Guitar</dt>
<dd>Bruce Connery</dd>
<dt>Drums</dt>
<dd>Sean Willis</dd>
</dl>
The above example demonstrates usage of the <dl>
element.
The <dl>
element represents an association list (also known as a description list) consisting of name-value groups.
Name-value groups may be terms and definitions, metadata topics and values, questions and answers, or any other groups of name-value data.
You can have multiple <dd>
elements for each <dt>
element. The above example demonstrates this — there are two guitarists.
You can also have multiple <dt>
elements for each description too (assuming the same description matches multiple terms).