<br clear=""">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- Using br To Insert Line Breaks In HTML: Here's How
- What does
<br clear=""">
do? - Was used to ensure that line breaks "cleared" floated or aligned elements above them. Deprecated.
Use CSS
The clear
attribute was used to ensure that a line break appearing in text wrapped around an image (using the deprecated align
attribute would clear the image, causing the next bit of content after the <br>
to appear below the image. This and most other presentational attributes have been deprecated in HTML5. Use CSS instead.
br.clear { clear: both; }