HTML New Line

Adding new lines in HTML is probably the simplest thing that you can do.

We use the <br /> tag for adding new lines. Note that since there is no content involved with the break tag, it is an empty tag and to comply with HTML standards we just close it with a / after the br and before >

Example:

This is line 1. <br />
This is line 2.

The above code will output:

This is line 1.

This is line 2.

Leave a Reply