HTML Guide
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>
Learn more: