HTML DOM BR Object
BR object
The BR object represents the HTML <br> element.
Access BR object
You can use getElementById() to access the <br> element:
var x = document.getElementById("myBR");
Create BR object
You can use the document.createElement() method to create a <br> element:
var x = document.createElement("BR");
BR Object Properties
Properties | Description |
---|---|
clear |
HTML5 does not support. Please use style.clear. Sets or returns the text flow around the floating object. |
Standard Attributes and Events
BR Object Supports StandardsPropertiesAndEvents.
Related Pages
HTML Reference Manual:HTML <br> Tag