2.3.1.18 clear

clear of type DOMString

Sets or retrieves the side on which floating objects are not to be positioned when any block-level element is inserted into the document.

Possible values are:

  • all – Object is moved below any floating object.

  • left – Object is moved below any floating object on the left side.

  • right – Object is moved below any floating object on the right side.

  • none – Floating objects are allowed on all sides.

This attribute extends the following interfaces:

Show: