Module 6: Lists and Grouped Content
Description Lists
Use dl, dt, and dd for groups of terms and their associated descriptions or values.
A description list represents one or more terms paired with descriptions or values. It is useful for a glossary, product specifications, event details, or a compact set of key-value information.
<dl>
<dt>Course</dt>
<dd>HTML Tutorial</dd>
<dt>Level</dt>
<dd>Beginner to advanced</dd>
<dt>Estimated effort</dt>
<dd>Self-paced practice</dd>
</dl>
The dl element groups the list. Each dt gives a term or label, and dd supplies its description or value. A term can have more than one description, and a description can be associated with more than one term where the content calls for it.
A description list is not simply a two-column grid. If your content is a set of ordinary navigation links, use a navigation list. If it is tabular data with rows and columns, use a table. If it is a sequence of steps, use an ordered list. Choose the structure that best explains the relationship between the items.