aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlbrelement/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/htmlbrelement/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/htmlbrelement/index.html')
-rw-r--r--files/zh-cn/web/api/htmlbrelement/index.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/htmlbrelement/index.html b/files/zh-cn/web/api/htmlbrelement/index.html
new file mode 100644
index 0000000000..1644e0eb3b
--- /dev/null
+++ b/files/zh-cn/web/api/htmlbrelement/index.html
@@ -0,0 +1,59 @@
+---
+title: HTMLBRElement
+slug: Web/API/HTMLBRElement
+translation_of: Web/API/HTMLBRElement
+---
+<div>{{APIRef("HTML DOM")}}</div>
+
+<p><strong><code>HTMLBRElement</code></strong> 接口代表一个 HTML 换行元素 ({{htmlelement("br")}}),它从 {{domxref("HTMLElement")}} 继承。</p>
+
+<p>{{InheritanceDiagram(600, 120)}}</p>
+
+<h2 id="属性">属性</h2>
+
+<p><em>从父类 {{domxref("HTMLElement")}} 继承属性。</em></p>
+
+<dl>
+ <dt>{{domxref("HTMLBRElement.clear")}} {{deprecated_inline}}</dt>
+ <dd>Is a {{domxref("DOMString")}} indicating the flow of text around floating objects.</dd>
+</dl>
+
+<h2 id="方法">方法</h2>
+
+<p><em>无具体方法;从父类 {{domxref("HTMLElement")}} 继承方法</em>。</p>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">备注</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', "#htmlbrelement", "HTMLBRElement")}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>No change from {{SpecName("HTML5 W3C")}}</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', "textlevel-semantics.html#the-br-element", "HTMLBRElement")}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>No change from {{SpecName("DOM2 HTML")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+<div>
+
+
+<p>{{Compat("api.HTMLBRElement")}}</p>
+</div>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li>HTML element implementing this interface: {{HTMLElement("br")}}</li>
+</ul>