Skip to main content
HTML Validation

End tag “br”.

About This HTML Issue

The <br> tag inserts a line break, and it’s self-closing so you can use either <br> or <br/> but </br> is invalid.

As the <br> tag is a void element, it doesn’t need a closing tag, so <br> is preferred to <br/>.

First line<br>
Second line is also valid but discouraged.<br/>
Third line is invalid</br>

Last reviewed: April 25, 2023

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.