blob: 1644e0eb3b61cf1f9aaebf02e1e2601470014025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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>
|