The HTML <dl> tag
The HTML <dl> element represents a description list — a series of term (<dt>) and description (<dd>) pairs. Ideal for glossaries, metadata, FAQs and key-value information.
Overview
The <dl> (description list) element groups terms and their descriptions. Each term goes in a <dt> and its description in one or more <dd> elements that follow it.
It suits any name-and-value content: glossaries, metadata blocks, FAQ-style term lists, and key-value pairs like product specifications. The relationship is flexible — a single term can have several descriptions, and several terms can share one description.
It is not a layout tool, but it styles beautifully: a common modern pattern is a two-column grid with terms on the left and descriptions on the right. Reach for it whenever your content is genuinely a set of name-value pairs rather than a sequence or a flat list.
Syntax
<dl>
<dt>HTML</dt>
<dd>The structure of web pages.</dd>
</dl>
Example
<dl>
<dt>CSS</dt>
<dd>Styles the presentation of web pages.</dd>
<dt>JS</dt>
<dd>Adds interactivity.</dd>
</dl>