HTML <br> Tag
The browser does not recognize new line and paragraph formatting in the text. If you want to start a new line, you need to insert a line break with the help of of the <br>. The <br> tag insert a single carriage return or break in the document. This element has no end tag.
Let us consider an example. Type the following HTML code does not use the <BR> tag in notepad, save the document as an HTML file, and open it in a browser. You will notice that the text shows line breaks at four instances, the browser displays the entire text as a single paragraph.
Attributes: This tag once accept an attribute called clear,
- clear: Indicates where to begin the next line after the break.
- Google Chrome
- Internet Explorer
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.