From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/html/element/dd/index.html | 139 +++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 files/zh-cn/web/html/element/dd/index.html (limited to 'files/zh-cn/web/html/element/dd') diff --git a/files/zh-cn/web/html/element/dd/index.html b/files/zh-cn/web/html/element/dd/index.html new file mode 100644 index 0000000000..fae18f6334 --- /dev/null +++ b/files/zh-cn/web/html/element/dd/index.html @@ -0,0 +1,139 @@ +--- +title:
+slug: Web/HTML/Element/dd +tags: + - HTML + - HTML 分组内容 + - Web + - 元素 + - 引用 +translation_of: Web/HTML/Element/dd +--- +

{{HTMLRef}}

+ +

HTML <dd> 元素HTML 描述元素)用来指明一个描述列表  ({{HTMLElement("dl")}}) 元素中一个术语的描述。这个元素只能作为描述列表元素的子元素出现,并且必须跟着一个 {{HTMLElement("dt")}} 元素。

+ + + + + + + + + + + + + + + + + + + + + + + + +
内容分类None
允许的内容流内容
标签省略必须有开标签。如果该元素后面紧跟着另一个 <dd> 元素,或者父元素中没有更多内容,则可以省略闭标签。
允许的父元素该元素需要出现在 {{HTMLElement("dt")}} 元素和 {{HTMLElement("dd")}} 元素之后,并且在一个 {{HTMLElement("dl")}} 元素里。
DOM 接口{{domxref("HTMLElement")}}
+ +

属性

+ +

该元素包含全局属性

+ +
+
{{htmlattrdef("nowrap")}} {{Non-standard_inline}}
+
如果这个属性的值为 yes,那么定义的描述文字将不会包裹。默认值为 no。
+
+ +

示例

+ +

示例请看<dl> 的示例

+ +

规范

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
规范状态备注
{{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')}} 
+ +

浏览器兼容性

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}} [1]{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari 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

+ + -- cgit v1.2.3-54-g00ecf