Skip to content
Home » Blog » HTML Code for Line Break now in 1 Simple line

HTML Code for Line Break now in 1 Simple line

Preface:

In this article, we will see the HTML Code for Line Break. By default, browsers ignore many formatting keystrokes that we take for granted. Examples include the “Enter” and “Tab” keys and multiple uses of the spacebar. To accomplish the same tasks in HTML, you use page formatting tags.

HTML Code for Line Break

HTML Code for Line Break:

<p> This text is in the first line <br> This text is in the Second Line
This is text is also in the second line </p>

Output

This text is in the first line
This text is in the Second Line This is text is also in the second line

Just add <br> tag wherever you wish to break the line

The <br> tag does not have a Closing Tag(</br>)

Add a Line Break in HTML: Instructions

Open an HTML document to edit the HTML code.

Then place your cursor at the place in the Code where you want to enter a line break.

Then type the tag: <br>

Definition and Usage

The <br> tag inserts a single line break.

This tag is useful for writing addresses or poems.

The <br> tag is an empty tag which means that it has no end tag.

Conclusion for HTML Code for Line Break:

In today’s post, we’ve discussed how to break lines in HTML using the <br> tag. If you are on your way to becoming a Web-developer, you might find our site really helpful. Hit this link for more HTML related posts
Check it out, it’s Simply the Best Code.

Leave a Reply

Your email address will not be published. Required fields are marked *