stopping text wrapping


<br clear="">

Browser
Internet Explorer Firefox Opera
Type
Inline Empty Deprecated

The clear attribute of the BR element is used to stop text wrapping around the iframe.


<br clear="all">


Attribute Value Explanation
clear=" " left clears the left (for the left-floating iframe)
right clears the right (for the right-floating iframe)
all clears the both (for the left or right floating iframe)

The use of this attribute is deprecated. (Use CSS instead)

Tips and Notes

Use CSS instead of deprecated HTML. Please see the "Related Document" for details on CSS.


Example

<p>
<iframe src="iexample_b.html" width="200" height="130" align="left">Alternate content</iframe>
Aligns to the left
<br>
The iframe floats to the left.
<br>
And the text wraps to the right of the iframe.
<br clear="left">
Clears the left
</p>
Output

Aligns to the left
The iframe floats to the left.
And the text wraps to the right of the iframe.
Clears the left