--- 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>