You are here: Home > HTML Reference > Elements > <p> element > clear attribute
Usage
See for usage information and examples.
Elements
You can use the clear
attribute on the following elements:
- <address>
- <blockquote>
- <br>
- <dd>
- <dir>
- <div>
- <dl>
- <dt>
- <hr>
- <li>
- <menu>
- <ol>
- <p>
- <pre>
- <table>
- <ul>
Browser compatibility
Compatibility table legend
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | p.clear reflects <p clear="all"> | Y | Y | Y | N | N | N | Y | N | | p.clear reflects <p clear="both"> | Y | Y | Y | N | N | N | Y | N | | p.clear reflects <p clear="left"> | Y | Y | Y | N | N | N | Y | N | | p.clear reflects <p clear="none"> | Y | Y | Y | N | N | N | Y | N | | p.clear reflects <p clear="right"> | Y | Y | Y | N | N | N | Y | N |