: The Description Details element - HTML: HyperText Markup Language | MDN (original) (raw)
Baseline
Widely available
The <dd>
HTML element provides the description, definition, or value for the preceding term () in a description list ().
Try it
<p>Cryptids of Cornwall:</p>
<dl>
<dt>Beast of Bodmin</dt>
<dd>A large feline inhabiting Bodmin Moor.</dd>
<dt>Morgawr</dt>
<dd>A sea serpent.</dd>
<dt>Owlman</dt>
<dd>A giant owl-like creature.</dd>
</dl>
p,
dt {
font-weight: bold;
}
dl,
dd {
font-size: 0.9rem;
}
dd {
margin-bottom: 1em;
}
Attributes
This element only includes the global attributes.
Examples
Technical summary
Content categories | None. |
---|---|
Permitted content | Flow content. |
Tag omission | The start tag is required. The end tag may be omitted if this element is immediately followed by another |
Permitted parents | A |
Implicit ARIA role | No corresponding role |
Permitted ARIA roles | No role permitted |
DOM interface | HTMLElement |
Specifications
Specification |
---|
HTML # the-dd-element |