BR (<br>) Tag

by Jai 30-May-19

0 175


The HTML <br> tag is mostly used when there is a need of inserting a line break inside a paragraph. This tag is applicable in writing poems and home address. It acts as an empty tag containing no content i.e. doesn't need end tag. Closing Bracket is optional in <br> tag.

Browsers Support:

Google Chrome
Firefox
Safari
Internet Explorer

BR (<br>) Tag

BR (<br>) Tag

BR (<br>) Tag

BR (<br>) Tag

Code:

<!DOCTYPE html>
<html>
<body>
<p>This paragraph contains <br>a line break.</p>
<p>This paragraph contains <br>multiple <br>line breaks.</p>
</body>
</html>

Output:

BR (<br>) Tag


Share:


Comments

    No Comments Yet.

Leave a Reply