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!
© 2024 Raqueebuddin Aziz. All rights reserved.