HTML <dd> Tag

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 4 Examples
Text & Semantics

What You’ll Learn

By the end of this tutorial, you’ll mark description list details with <dd> inside semantic <dl> lists.

01

dd Syntax

Place <dd> after its <dt> term inside <dl>.

02

Description Role

Represents the value or explanation for a term.

03

dl + dt + dd

Understand how the three elements work together.

04

Multiple dd

Add several descriptions for one term when needed.

05

Metadata Pairs

Build name–value specs and profile details.

06

CSS Styling

Style terms and descriptions with classes and grid.

What Is the <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.

💡
Description list, not layout

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.

📝 Syntax

Place <dd> after its <dt> term, both inside <dl>:

syntax.html
<dl>
  <dt>Term</dt>
  <dd>Description or value for the term</dd>
</dl>

Syntax Rules

  • <dd> must be inside a <dl> element.
  • Each dd describes the most recent preceding dt.
  • Multiple dd elements can follow a single dt.
  • Do not use description lists purely for CSS layout—use flexbox or grid instead.

⚡ Quick Reference

FeatureSyntax / RuleNotes
Parent<dl>Description list container
Pairs with<dt>Term comes before dd
Element typeBlockBlock-level content
Multiple ddAllowedSeveral descriptions per dt
Tag-specific attrsNoneGlobal attributes only
Use casesGlossary, FAQ, metadataName–value semantic pairs

⚖️ <dl>, <dt>, and <dd>

These three elements work together in a description list:

ElementRoleExample
<dl>Container wrapperThe description list
<dt>Term, name, or labelHTML
<dd>Description or valueHyperText Markup Language
Orderdt then ddTerm before its description

🧰 Attributes

The <dd> tag has no tag-specific attributes. Global attributes apply:

class Global

Style descriptions separately from terms.

class="description"
id Global

Unique identifier for linking or scripting.

id="css-desc"
lang Global

Language of the description text if different from page.

lang="en"
title Global

Extra tooltip context on hover.

title="Full name"
Parent dl Required

Must be nested inside a description list.

<dl>...</dl>
Preceding dt Required

Each dd describes the nearest preceding dt.

<dt>...<dd>

Example: <dt class="term">CSS</dt><dd class="description">Cascading Style Sheets</dd>

Examples Gallery

Basic descriptions, glossaries, multiple dd elements, and metadata pairs with copy-ready code and live previews.

Live Preview

A simple term and description pair:

HTML
HyperText Markup Language for structuring web pages.

Basic Description

One dt term with one dd description.

basic-dd.html
<dl>
  <dt>HTML</dt>
  <dd>HyperText Markup Language — the standard markup language for web pages.</dd>
</dl>
Try It Yourself

📚 Common Use Cases

Use <dd> in glossaries, FAQ answers, product specifications, author bios, and any name–value content where a term needs a clear description.

Web Technology Glossary

Multiple dt/dd pairs in one dl list.

glossary-dd.html
<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>
Try It Yourself

Multiple dd for One dt

Add several dd elements when one term needs multiple descriptions.

multiple-dd.html
<dl>
  <dt>Web Development</dt>
  <dd>Creating websites and applications for the internet.</dd>
  <dd>Typically involves HTML, CSS, and JavaScript.</dd>
</dl>
Try It Yourself

Metadata Name–Value Pairs

Use dl/dt/dd for product specs or profile details with CSS grid layout.

metadata-dd.html
<dl>
  <dt>Brand</dt>
  <dd>CodeToFun</dd>
  <dt>Category</dt>
  <dd>Education</dd>
  <dt>Level</dt>
  <dd>Beginner</dd>
</dl>
Try It Yourself

Styling <dd> with CSS

Style terms and descriptions separately. Use CSS grid on dl for metadata-style name–value layouts:

dt Bold term labels
dd Indented descriptions
grid Metadata two-column layout
margin Spacing between pairs
dd-styles.css
/* 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

♿ Accessibility

Semantic description lists help assistive technologies:

  • Use dl for true term–description pairs — not for arbitrary layout.
  • Keep dt and dd associated — each term should have at least one dd.
  • Write clear dt labels — screen readers announce the dt/dd relationship.
  • Style with CSS — distinguish terms from descriptions visually.

🧠 How <dd> Works

1

Author creates a dl list

Wrap term–description groups in dl.

Markup
2

dt names the term

The keyword, label, or name comes first.

Term
3

dd provides the description

One or more dd elements explain the term.

Detail
=

Clear, semantic lists

Organized term–description content for users and assistive tech.

Universal Browser Support

The <dd> element is fully supported in all browsers, including legacy Internet Explorer.

Baseline · Since HTML 2

Description lists that work everywhere

From legacy Internet Explorer to the latest mobile browsers — the dd element is fully supported for semantic term–description content.

100% Core tag support
Google Chrome All versions · Desktop & Mobile
Full support
Mozilla Firefox All versions · Desktop & Mobile
Full support
Apple Safari All versions · macOS & iOS
Full support
Microsoft Edge All versions · Chromium & Legacy
Full support
Internet Explorer IE 6+ · Legacy environments
Full support
Opera All modern versions
Full support
<dd> tag 100% supported

Bottom line: Ship semantic description lists with confidence. The <dd> element is safe to use in every production environment today.

Conclusion

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.

💡 Best Practices

✅ Do

  • Wrap groups in dl
  • Put dt before its dd elements
  • Use multiple dd when needed
  • Style terms and descriptions with CSS

❌ Don’t

  • Use dd outside a dl
  • Use description lists only for layout
  • Leave a dt without a dd
  • Confuse dd with dl or dt

Key Takeaways

Knowledge Unlocked

Six truths every developer should know about <dd>

Bookmark these before you ship — they’ll keep your description list markup semantic and accessible.

6
Core concepts
📦 02

Inside dl

Must be nested within a description list container.

Essential
🔗 03

Follows dt

Each dd describes the nearest preceding dt element.

Syntax
04

Multiple dd

Several dd elements can follow one dt when needed.

Pattern
📝 05

Description List

HTML5 name—not just dictionary definitions.

Semantics
📊 06

Glossaries & Metadata

Perfect for FAQs, specs, and name–value pairs.

Use Case

❓ Frequently Asked Questions

It provides the description or value for a dt term inside a dl description list.
dt is the term or name. dd is the description that explains it.
Yes. Several dd elements can follow a single dt.
HTML5 uses “description list.” It works for glossaries, FAQs, and metadata—not only dictionary definitions.
No. Use dd only for semantic term–description content. Use CSS for layout.

Build Description Lists

Practice dl, dt, and dd in the interactive HTML editor.

Try dl + dt + dd →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

6 people found this page helpful