brNN 6 IE 4 DOM1  

  

The br object reflects the br element.

 
HTML Equivalent
 
<br>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
 
Object-Specific Properties
 
clear
 
Object-Specific Methods

None.

 
Element-Specific Event Handler Attributes

None.

clearNN 6 IE 4 DOM 1  

Read/Write  

Tells the browser how to treat the next line of text following a br element if the current text is wrapping around a floating image or other object. The value you use depends on the side of the page to which one or more inline images are pegged and how you want the next line of text to be placed in relation to those images.

 
Example
 
document.getElementById("specialBreak").clear = "all";
 
Value

Case-insensitive string of any of the following constants: all | left | none | right.

 
Default

none