diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/htmlspanelement/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/api/htmlspanelement/index.html')
-rw-r--r-- | files/zh-cn/web/api/htmlspanelement/index.html | 61 |
1 files changed, 61 insertions, 0 deletions
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 +--- +<div> +<div>{{APIRef("HTML DOM")}}</div> +</div> + +<p>The <strong><code><span class="external">HTMLSpanElement</span></code></strong> interface represents a {{HTMLElement("span")}} element and derives from the {{ domxref("HTMLElement") }} interface, but without implementing any additional properties or methods.</p> + +<p>{{InheritanceDiagram(600, 120)}}</p> + +<h2 id="属性">属性</h2> + +<p><em>无特定属性;从其父元素{{domxref("HTMLElement")}}继承属性。</em></p> + +<h2 id="方法">方法</h2> + +<p><em>无特定方法;从其父元素{{domxref("HTMLElement")}}继承方法。</em></p> + +<h2 id="说明">说明</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('HTML WHATWG', "text-level-semantics.html#the-span-element", "HTMLSpanElement")}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>No change from {{SpecName("HTML5 W3C")}}.</td> + </tr> + <tr> + <td>{{SpecName('HTML5 W3C', "text-level-semantics.html#the-span-element", "HTMLSpanElement")}}</td> + <td>{{Spec2('HTML5 W3C')}}</td> + <td>Initial definition, as {{HTMLElement("span")}} was associated with an {{domxref("HTMLElement")}} before that.</td> + </tr> + </tbody> +</table> + +<h2 id="浏览器兼容性">浏览器兼容性</h2> + + + +<p>{{Compat("api.HTMLSpanElement")}}</p> + +<h2 id="另请参阅">另请参阅</h2> + +<ul> + <li>The HTML element implementing this interface: {{HTMLElement("span")}}.</li> +</ul> + +<div> </div> |