Live Preview
A simple term and description pair:
- HTML
- HyperText Markup Language for structuring web pages.

By the end of this tutorial, you’ll mark description list details with <dd> inside semantic <dl> lists.
Place <dd> after its <dt> term inside <dl>.
Represents the value or explanation for a term.
Understand how the three elements work together.
Add several descriptions for one term when needed.
Build name–value specs and profile details.
Style terms and descriptions with classes and grid.
<dd> Tag?The dd element (<dd>) represents a description, definition, or value associated with the preceding <dt> term inside a <dl> description list. Browsers typically indent dd content slightly by default.
HTML5 calls <dl> a description list—use it for glossaries, FAQs, and metadata pairs, not for arbitrary page layout.
Common uses include glossaries, FAQ answers, product specifications, author bios, and any name–value content where a term needs a clear description.
Place <dd> after its <dt> term, both inside <dl>:
<dl>
<dt>Term</dt>
<dd>Description or value for the term</dd>
</dl><dd> must be inside a <dl> element.dd describes the most recent preceding dt.dd elements can follow a single dt.| Feature | Syntax / Rule | Notes |
|---|---|---|
| Parent | <dl> | Description list container |
| Pairs with | <dt> | Term comes before dd |
| Element type | Block | Block-level content |
| Multiple dd | Allowed | Several descriptions per dt |
| Tag-specific attrs | None | Global attributes only |
| Use cases | Glossary, FAQ, metadata | Name–value semantic pairs |
<dl>, <dt>, and <dd>These three elements work together in a description list:
| Element | Role | Example |
|---|---|---|
<dl> | Container wrapper | The description list |
<dt> | Term, name, or label | HTML |
<dd> | Description or value | HyperText Markup Language |
| Order | dt then dd | Term before its description |
The <dd> tag has no tag-specific attributes. Global attributes apply:
class GlobalStyle descriptions separately from terms.
class="description"id GlobalUnique identifier for linking or scripting.
id="css-desc"lang GlobalLanguage of the description text if different from page.
lang="en"title GlobalExtra tooltip context on hover.
title="Full name"Parent dl RequiredMust be nested inside a description list.
<dl>...</dl>Preceding dt RequiredEach dd describes the nearest preceding dt.
<dt>...<dd>Example: <dt class="term">CSS</dt><dd class="description">Cascading Style Sheets</dd>
Basic descriptions, glossaries, multiple dd elements, and metadata pairs with copy-ready code and live previews.
A simple term and description pair:
One dt term with one dd description.
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language — the standard markup language for web pages.</dd>
</dl>Use <dd> in glossaries, FAQ answers, product specifications, author bios, and any name–value content where a term needs a clear description.
Multiple dt/dd pairs in one dl list.
<dl>
<dt>HTML</dt>
<dd>A markup language for structuring web content.</dd>
<dt>CSS</dt>
<dd>A stylesheet language for visual design.</dd>
<dt>JavaScript</dt>
<dd>A programming language for interactive pages.</dd>
</dl>Add several dd elements when one term needs multiple descriptions.
<dl>
<dt>Web Development</dt>
<dd>Creating websites and applications for the internet.</dd>
<dd>Typically involves HTML, CSS, and JavaScript.</dd>
</dl>Use dl/dt/dd for product specs or profile details with CSS grid layout.
<dl>
<dt>Brand</dt>
<dd>CodeToFun</dd>
<dt>Category</dt>
<dd>Education</dd>
<dt>Level</dt>
<dd>Beginner</dd>
</dl>Style terms and descriptions separately. Use CSS grid on dl for metadata-style name–value layouts:
dt Bold term labelsdd Indented descriptionsgrid Metadata two-column layoutmargin Spacing between pairs/* Glossary-style description list */
dl dt {
font-weight: 600;
color: #1e40af;
margin-top: 0.75rem;
}
dl dd {
margin: 0.25rem 0 0;
padding-left: 1rem;
color: #475569;
}
/* Metadata grid layout */
.spec-list {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.35rem 1rem;
}Live styled metadata list
Semantic description lists help assistive technologies:
Wrap term–description groups in dl.
The keyword, label, or name comes first.
One or more dd elements explain the term.
Organized term–description content for users and assistive tech.
The <dd> element is fully supported in all browsers, including legacy Internet Explorer.
From legacy Internet Explorer to the latest mobile browsers — the dd element is fully supported for semantic term–description content.
Bottom line: Ship semantic description lists with confidence. The <dd> element is safe to use in every production environment today.
The <dd> tag provides descriptions in HTML description lists. Combined with <dl> and <dt>, it creates clear glossaries, FAQs, and metadata—use it for meaning, not layout.
dldt before its dd elementsdd when neededdd outside a dldt without a dddd with dl or dt<dd>Bookmark these before you ship — they’ll keep your description list markup semantic and accessible.
<dd> holds the value or explanation for a term.
Must be nested within a description list container.
EssentialEach dd describes the nearest preceding dt element.
SyntaxSeveral dd elements can follow one dt when needed.
PatternHTML5 name—not just dictionary definitions.
SemanticsPerfect for FAQs, specs, and name–value pairs.
Use Casedt term inside a dl description list.dt is the term or name. dd is the description that explains it.dd elements can follow a single dt.dd only for semantic term–description content. Use CSS for layout.Practice dl, dt, and dd in the interactive HTML editor.
6 people found this page helpful