HTMLBRElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
HTMLBRElement
接口表示 HTML 换行元素(<br>
)。它继承自 HTMLElement
。
实例属性
继承父类 HTMLElement
的属性。
HTMLBRElement.clear
已弃用-
一个表示文本围绕浮动对象的流动方式的字符串。
实例方法
没有特定的方法;继承父类 HTMLElement
的方法。
规范
Specification |
---|
HTML # htmlbrelement |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLBRElement | ||||||||||||
clear |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 实现该接口的 HTML 元素:
<br>