HTML br Tag

HTML <br> Tag: The HTML  <br> tag inserts a single line break.It is an empty tag which means it has no ending tag. And There are many ways to break the line without using <br> tag. The used properties are listed below:

  • white-space: pre; It is used to make elements acts like <pre> tag.
  • display: block; It sets the display property of elements to block.

HTML <br> Tag

This tag supports global and event attributes.

Browser Support

The HTML <br> tag supports different types browsers.



  • Chrome
  • Firefox
  • InternetExplorer
  • Safari
  • Opera

Syntax: <br>

Example:

<!DOCTYPE html>
<html>
<body>
<p>
Enter the text<br>here!!
</p>
</body>
</html>

Output:

Enter the text

here!!