Add new line space html
To add a new line space in HTML, you can use the <br>
tag. This tag is used to insert a line break in the text.
Here is an example:
This is the first line of text.<br>
This is the second line of text.
When rendered in a web browser, this code will produce:
This is the first line of text. This is the second line of text.
Alternatively, you can use the <p>
tag to create a paragraph break, which will also insert a new line space:
This is the first line of text.<p>This is the second line of text.
When rendered in a web browser, this code will produce:
This is the first line of text.
This is the second line of text.
Note that the <br>
tag is typically used to insert a line break within a paragraph, while the <p>
tag is used to create a new paragraph.