In an HTML document, the whole text is printed as a single unit unless you gave it proper tags and attributes. The <br> tag in HTML is an important formatting tag that helps you to provide line breaks in your document. Use <br> tag in your document where you want to start a new line. The <br> is an empty inline element used in HTML.

Example of <br> tag:-

Here is an example of a <br> tag where we divided a paragraph into two different parts.

<title> HTML Line Breaks </title>
<p>This is the whole paragraph, which we divided with the help of a line break.<br> This is second paragraph which is divided with <br> tag.</p>

Leave a Reply

Your email address will not be published. Required fields are marked *