HTML br tag
HTML <br> tag or element is used to break line in a paragraph.
It is generally used in poem or address where the division of line is necessary.
The <br> tag inserts a single line break.
The <br> tag is an empty tag which means that it has no end tag.
You can use HTML br tag two ways: <br> or <br/>. It is recommended to use closed br tag <br/> because it is supported in HTML and XHTML both.
<p>If you want to break line<br>in a paragraph,<br>use the br element.</p>
Output :
If you want to break line
in a paragraph,
use the br element.
Tip: The <br> tag is useful for writing addresses or poems.
Note: Use the <br> tag to enter line breaks, not to separate paragraphs.
© 2024 Easy To Learning. All Rights Reserved | Design by Easy To Learning