By
Raqueebuddin Aziz
July 21, 2023
Freelance Web Designer & Developer
By
July 21, 2023
Freelance Web Designer & Developer
The br
tag is used to add line breaks in your HTML content.
<p>
This is line one.
This is line two.
</p>
This is line one. This is line two.
As you can see in the example above any excess white space including enters are removed from the rendered html.
<p>This is line one.<br />This is line two.</p>
This is line one.
This is line two.
By using the br
tag you can add a line break that will make it to the rendered html
The br
tag is pretty simple with only one use case and that is to add line breaks in your HTML content.
Leave a comment if you have any questions!
Get a gorgeous website at just $99/month.
30 DAY FREE TRIAL
We use cookies to enhance your browsing experience and analyze website traffic. By continuing to use our website, you consent to the use of cookies in accordance with our Privacy Policy.