CLEAR Attribute | clear

HTML (DHTML)

CLEAR Attribute | clear Property

Internet Development Index

Sets or retrieves the side on which floating objects are not to be positioned when a line break is inserted into the document.

Syntax

HTML<BR CLEAR = sValue... >
ScriptingBR.clear [ = sValue ]

Possible Values

sValueString that specifies or receives one of the following values.
allObject is moved below any floating object.
leftObject is moved below any floating object on the left side.
rightObject is moved below any floating object on the right side.
noneFloating objects are allowed on all sides.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Standards Information

This property is deprecated in HTML Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

BR