dl
The description list wrapper.
Learn Description Lists with practical examples for tables, lists, structured data relationships, accessibility, SEO and live practice.
HTML data structures
A description list uses dl, dt and dd. It is useful for glossaries, metadata, specifications, key-value pairs and compact explanations.
A dt is the term or label. A dd is the description or value. A single term can have multiple descriptions, and multiple terms can share one description.
Use description lists when labels and details belong together. Do not use them only because you want a two-column layout.
The description list wrapper.
The term, name or label.
The description, value or explanation.
A common use case for compact label-value information.
Syntax and structure
Description lists are excellent for definitions, specs and structured metadata.
<dl> <dt>HTML</dt> <dd>The structure and meaning of a web page.</dd> <dt>CSS</dt> <dd>The visual styling of that structure.</dd> </dl>
<p><strong>HTML:</strong> The structure of a page.</p> <p><strong>CSS:</strong> The visual styling.</p>
Rules that matter
Tables and lists are small elements with big structural value. They help users scan, compare, follow steps and understand how pieces of information belong together.
The list should connect labels and explanations.
If the content is not label-value data, a dl may be the wrong element.
One dt can have more than one detail when needed.
A dt should be concise enough to act as a label.
Two-column appearance belongs in CSS, not fake markup.
Product specs, course facts and glossaries are strong use cases.
Production thinking
This matters because many pages contain small structured facts. A description list gives those facts real relationships.
Description lists communicate that labels and descriptions are connected, which is stronger than separate paragraphs.
Use dl for compact content such as product details, account metadata, API facts and course glossary sections.
Clear label-detail content can help users and crawlers understand definitions, specifications and structured page facts.
Live code lab
Edit the HTML or CSS, then use Run to refresh the preview. The preview is isolated, so links and forms stay inside this practice area.
Mini assignment
Practice assignment
Try it yourself
Self-check
Do not only read this page. Answer these questions out loud or write the answers in your own notes. If one answer feels vague, revisit the examples before moving on.