The HTML Attribute reference.

"clear" - html Attribute (deprecated)

  • Specifies where the next line should appear in a visual browser after the line break caused by this element.

Value(s): none, left, right or all

This attribute takes into account floating objects (images, tables, etc.).
Possible values:
Attribute value description
none The next line will begin normally. This is the default value.
left The next line will begin at nearest line below any floating objects on the left-hand margin.
right The next line will begin at nearest line below any floating objects on the right-hand margin.
all The next line will begin at nearest line below any floating objects on either margin.
Used in the element(s):
Elements Description
br Forced line break

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.