dl

The HTML <dl> element groups terms or names in <dt> with their descriptions or values in <dd>.

What you will learn

Basic structure

<dl>
  <dt>HTML</dt>
  <dd>A markup language for structuring web documents.</dd>
  <dt>CSS</dt>
  <dd>A language for styling web documents.</dd>
</dl>

Use dt for the term, name, or question, then place its matching explanation, value, or answer in dd. One term can have several descriptions, and several terms can share one description when that relationship is accurate.

Good use cases

When to use another list

Use ul when the items are an unordered collection, and ol when their order matters. Choose dl when each item has a meaningful term-and-description relationship.

Related pages