HTML BR Tag

The <br> tag in HTML stands for "break" — more specifically, it means line break.

You use it when you want to move the content to a new line — like hitting the "Enter" key on your keyboard — without starting a new paragraph. It’s perfect for breaking text inside a paragraph or any block of content when you don’t want extra space between lines.

Syntax -

The <br> tag is an empty/self-closing tag, which means:

  • It does not have a closing tag (no </br>)
  • It is written like this:
<br> or <br />
Note! The forward slash is only for older version browsers and can be ignored for new browsers.
Example -

Scenario - Example Using <br> Tag

<!DOCTYPE html>
<html>
	<head>
		<title>Line break tag example..</title>
	</head>
	<body>
		<h6>With line breaks -</h6>
		<p>First paragraph…<br> 
			Second paragraph…<br> 
			Third paragraph…</p>
		<h6>Without line breaks -</h6>
		<p>First paragraph… 
			Second paragraph…
			Third paragraph…</p>
	</body>
</html>
Output -
With line breaks -

First paragraph…
Second paragraph…
Third paragraph…

Without line breaks -

First paragraph… Second paragraph… Third paragraph…

Explaining Example -

Each <br> forces the text to go to the next line without creating a big space like a new paragraph would.