HTML <br> tag

Use of <br> tag

The <br> tag is used in giving a single line break. It is sometimes called HTML line spacing tag.
<br> tag defines a single line break while <br> <br> defines two line breaks and so on.
Type: Null or empty tag

Example of <br> tag

This is first sentence. <br> This is second sentence.

Supported Browsers

Tag Chrome browser Internet explorer browser Firefox browser Safari browser Opera browser
<br> Yes Yes Yes Yes Yes

Full Code Example

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>
This is first sentence. <br> This is second sentence. <br> This is second sentence.
</p>
</body>
</html>

Output

This is first sentence.
This is second sentence.
This is second sentence.

More Reference

The <br> tag is mainly useful in writing address, song lyrics, poems or code samples like in our website. Be sure not to confuse <br> tag separates two lines not to separate paragraph.

<!DOCTYPE html>
<<html>
<head>
</head>
<body>
It's been a long day without you, my friend<br>
And I'll tell you all about it when I see you again <br>
We've come a long way from where we began <br>
Oh I'll tell you about it when I see you again
</body>
</html>