此文件需要編輯審查。看看您能幫什麼忙。
我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
The HTML <dd>
element (HTML Description Element) indicates the description of a term in a description list (<dl>
) element. This element can occur only as a child element of a description list and it must follow a <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 <dt> or a <dd> element, inside a <dl> . |
DOM interface | HTMLElement |
Attributes
This element includes the global attributes.
nowrap
- 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 |
---|---|---|
WHATWG HTML Living Standard The definition of '<dd>' in that specification. |
Living Standard | |
HTML5 The definition of '<dd>' in that specification. |
Recommendation | |
HTML 4.01 Specification The definition of '<dd>' in that specification. |
Recommendation |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) | 1.0 (1.7 or earlier) [1] | (Yes) | (Yes) | (Yes) |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | (Yes) | 1.0 (1.0) [1] | (Yes) | (Yes) | (Yes) |
[1] Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element.