{{APIRef}}
The HTMLBRElement
interface represents a HTML line break element ({{htmlelement("br")}}). It inherits from {{domxref("HTMLElement")}}.
Properties
Inherits properties from its parent, {{domxref("HTMLElement")}}.
Name | Type | Description |
---|---|---|
clear {{obsolete_inline}} |
{{domxref("DOMString")}} | Indicates flow of text around floating objects. |
Methods
No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', "text-level-semantics.html#the-br-element", "HTMLBRElement")}} | {{Spec2('HTML WHATWG')}} | No change from {{SpecName("HTML5 W3C")}} |
{{SpecName('HTML5 W3C', "text-level-semantics.html#the-br-element", "HTMLBRElement")}} | {{Spec2('HTML5 W3C')}} | No change from {{SpecName("DOM2 HTML")}} |
{{SpecName('DOM2 HTML', 'html.html#ID-56836063', 'HTMLBodyElement')}} | {{Spec2('DOM2 HTML')}} | No change from {{SpecName("DOM1")}}. |
{{SpecName('DOM1', 'level-one-html.html#ID-56836063', 'HTMLBodyElement')}} | {{Spec2('DOM1')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 1.0 | {{CompatGeckoDesktop(1.0)}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatGeckoMobile(1.0)}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} | {{CompatVersionUnknown}} |
See also
- HTML element implementing this interface: {{HTMLElement("br")}}