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/api/htmlspanelement/index.html | 61 ++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 files/zh-cn/web/api/htmlspanelement/index.html (limited to 'files/zh-cn/web/api/htmlspanelement/index.html') diff --git a/files/zh-cn/web/api/htmlspanelement/index.html b/files/zh-cn/web/api/htmlspanelement/index.html new file mode 100644 index 0000000000..2b23419712 --- /dev/null +++ b/files/zh-cn/web/api/htmlspanelement/index.html @@ -0,0 +1,61 @@ +--- +title: HTMLSpanElement +slug: Web/API/HTMLSpanElement +tags: + - API + - DOM + - Interface + - Reference +translation_of: Web/API/HTMLSpanElement +--- +
+
{{APIRef("HTML DOM")}}
+
+ +

The HTMLSpanElement interface represents a {{HTMLElement("span")}} element and derives from the {{ domxref("HTMLElement") }} interface, but without implementing any additional properties or methods.

+ +

{{InheritanceDiagram(600, 120)}}

+ +

属性

+ +

无特定属性;从其父元素{{domxref("HTMLElement")}}继承属性。

+ +

方法

+ +

无特定方法;从其父元素{{domxref("HTMLElement")}}继承方法。

+ +

说明

+ + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', "text-level-semantics.html#the-span-element", "HTMLSpanElement")}}{{Spec2('HTML WHATWG')}}No change from {{SpecName("HTML5 W3C")}}.
{{SpecName('HTML5 W3C', "text-level-semantics.html#the-span-element", "HTMLSpanElement")}}{{Spec2('HTML5 W3C')}}Initial definition, as {{HTMLElement("span")}} was associated with an {{domxref("HTMLElement")}} before that.
+ +

浏览器兼容性

+ + + +

{{Compat("api.HTMLSpanElement")}}

+ +

另请参阅

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