HTML <dd> element 提供描述、定义、或值为之前术语 ( <dt> ) 在描述列表 ( <dl> ).

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

内容类别 None.
准许内容 流内容 .
Tag omission The start tag is required. The end tag may be omitted if the <dd> element is immediately followed by another <dd> element or a <dt> element, or if there is no more content in the parent element.
Permitted parents <dl> or (in WHATWG HTML) a <div> that is inside a <dl> .
Previous sibling <dt> or another <dd> 元素。
Implicit ARIA role definition
Permitted ARIA roles No role permitted
DOM 接口 HTMLElement

属性

This element's attributes include the 全局属性 .

nowrap
If the value of this attribute is set to yes , the definition text will not wrap. The default value is no .

范例

For an example, see <dl> examples .

规范

规范 状态 注释
HTML 实时标准
The definition of '<dd>' in that specification.
实时标准
HTML5
The definition of '<dd>' in that specification.
推荐
HTML 4.01 Specification
The definition of '<dd>' in that specification.
推荐

浏览器兼容性

The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
dd Chrome 完整支持 Yes Edge 完整支持 12 Firefox 完整支持 1 注意事项
完整支持 1 注意事项
注意事项 Before Firefox 4, this element was implemented using the HTMLSpanElement interface instead of HTMLElement .
IE 完整支持 Yes Opera 完整支持 Yes Safari 完整支持 Yes WebView Android 完整支持 Yes Chrome Android 完整支持 Yes Firefox Android 完整支持 4 Opera Android 完整支持 Yes Safari iOS 完整支持 Yes Samsung Internet Android 完整支持 Yes
nowrap 弃用 非标 Chrome 完整支持 Yes Edge 完整支持 12 Firefox 完整支持 1 IE 完整支持 Yes Opera 完整支持 Yes Safari 完整支持 Yes WebView Android 完整支持 Yes Chrome Android 完整支持 Yes Firefox Android 完整支持 4 Opera Android 完整支持 Yes Safari iOS 完整支持 Yes Samsung Internet Android 完整支持 Yes

图例

完整支持

完整支持

非标。预期跨浏览器支持较差。

非标。预期跨浏览器支持较差。

弃用。不要用于新网站。

弃用。不要用于新网站。

见实现注意事项。

见实现注意事项。

另请参阅

元数据

  • 最后修改: