0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
The definition description element provides the description, definition, or value associated with a term in a definition list.
Description
The <dd> element (definition description) provides the description, definition, or value for the preceding <dt> element(s) in a <dl> (definition list).
By default, <dd> elements are indented from the inline-start edge (the left in left-to-right text, the right in right-to-left) to visually distinguish them from their associated terms.
<dl><dt>Accessibility</dt><dd>The practice of making websites usable by as many people as possible.</dd><dt>Responsive Design</dt><dd>An approach to web design that makes web pages render well on various devices.</dd></dl>
Multiple Descriptions
A term can have multiple <dd> elements, each providing a different definition, meaning, or aspect.
Multiple descriptions for one term
1234567
<dl><dt>Port</dt><dd>A harbor or haven for ships.</dd><dd>A virtual point where network connections start and end.</dd><dd>A type of fortified wine from Portugal.</dd><dd>To transfer software from one system or environment to another.</dd></dl>
Shared Description
Multiple terms can share the same <dd> description. This is useful for synonyms or alternate names.
Multiple terms sharing a description
12345
<dl><dt>RGB</dt><dt>Red Green Blue</dt><dd>A color model in which red, green, and blue light are combined.</dd></dl>
Rich Content
Definition descriptions can contain any flow content, including paragraphs, lists, links, and more.
Rich content in descriptions
12345678910111213141516171819
<dl><dt>Progressive Enhancement</dt><dd><p>A strategy for web design that emphasizes core webpage content first.</p><p>Additional functionality and styling are layered on top for browsers that support them.</p></dd></dl><dl><dt>Key Features</dt><dd><ul><li>Lightweight and fast</li><li>No dependencies</li><li>Fully accessible</li><li>Mobile-first design</li></ul></dd></dl>
Accessibility
Screen Reader Behavior
Exposed with the definition role in browser accessibility trees
Whether a screen reader announces the link to the preceding <dt> varies; most simply read descriptions in source order
Rich content inside a description (lists, links, paragraphs) keeps its own semantics
Best Practices
Write clear, meaningful descriptions
Use appropriate semantic elements within descriptions
Ensure every <dd> is associated with at least one <dt>
Use lists or paragraphs within <dd> for complex content
CSS Properties
Property
Value
Description
margin-inline-start
var(--size-l)
Inline-start indentation to distinguish from terms
The indent is removed where a layout replaces it: in dl[data-striped] (padding instead), and in the data-variant="horizontal" and data-variant="stacked" layouts. Plain <div> or <div> wrappers keep it.
When a <dd> is followed by a <dt> (starting a new term group), dd + dt adds margin-block-start: var(--size-m) for visual separation.
Content Model
Permitted Content
Flow content (paragraphs, lists, figures)
Inline elements (links, code, emphasis)
Nested definition lists
Required Parent
Must be a child of <dl>, or of a <div> that is a child of <dl>.
Related
<dl> — Definition list container (required parent)