{{HTMLRef}}
The HTML <dd>
element (HTML Description Element) indicates the description of a term in a description list ({{HTMLElement("dl")}}) element. This element can occur only as a child element of a definition list and it must follow a {{HTMLElement("dt")}} element.
Content categories | None |
---|---|
Permitted content | Flow content. |
Tag omission | Must have a start tag. The end tag may be omitted if this element is immediately followed by another <dd> element, or if there is no more content in the parent element. |
Permitted parent elements | After a {{HTMLElement("dt")}} or a {{HTMLElement("dd")}} element, inside a {{HTMLElement("dl")}}. |
DOM interface | {{domxref("HTMLElement")}} |
Attributes
This element includes the global attributes.
- {{htmlattrdef("nowrap")}} {{Non-standard_inline}}
- If the value of this attribute is set to
yes
, the definition text will not wrap. The default value isno
.
Example
For an example, see <dl> examples.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', 'grouping-content.html#the-dd-element', '<dd>')}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', 'grouping-content.html#the-dd-element', '<dd>')}} | {{Spec2('HTML5 W3C')}} | |
{{SpecName('HTML4.01', 'struct/lists.html#h-10.3', '<dd>')}} | {{Spec2('HTML4.01')}} |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatGeckoDesktop("1.0")}} [1] | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatGeckoMobile("1.0")}} [1] | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
[1] Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.
See also
- {{HTMLELement("dl")}}, {{HTMLElement("dt")}}