WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM BR Object


BR Object

The BR object speaks to a HTML <br> element.

Access a BR Object

You can get to a <br> component by utilizing getElementById():

var x = document.getElementById("myBR");

Create a BR Object

You can make a <br> component by utilizing the document.createElement() method:

var x = document.createElement("BR");

BR Object Properties

Property Description
clear Not upheld in HTML5. Use style.clear instead.
Sets or restores the stream of content around drifting objects