clear attribute | clear property
Sets or retrieves the side on which floating objects are not to be positioned when any IHTMLBlockElement is inserted into the document.
Syntax
| HTML | <element clear="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
-
Object is moved below any floating object.
-
Object is moved below any floating object on the left side.
-
Object is moved below any floating object on the right side.
-
Floating objects are allowed on all sides.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 15.1.3 (Deprecated)
See also
- address
- blockQuote
- center
- hn
- listing
- p
- plainText
- pre
- xmp
- Reference
- display
- position
- Conceptual
- About Element Positioning
Show: