HTML DOM BR Object
BR Object
The BR object represents an HTML <br> element.
Access a BR Object
You can access a <br> element by using getElementById():
Create a BR Object
You can create a <br> element by using the document.createElement() method:
BR Object Properties
Property | Description |
---|---|
clear | Not supported in HTML5. Use style.clear instead. Sets or returns the flow of text around floating objects |
Standard Properties and Events
The BR object also supports the standard properties and events.
Related Pages
HTML reference: HTML <br> tag
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.