Introduction:

In this article we are going to explain what is <br> tag in html or why use br tag in HTML or how to use br element in html or how to a line break in html with example.

Description:

The <br> element is used to insert a line break within a parent element such as a paragraph without breaking out of the parent container. It is generally used in poem or address where the division of line is necessary.

Example of HTML br Tag

Let's see the code to display the line break.

 

 <!DOCTYPE html>
<html>
<head>
    <title>This is the example of br tag</title>
</head>
<body>
    <p>If you want to break line<br>in a paragraph,<br>use the br element.</p>    
</body>
</html> 

Output:


 

I hope this article will help to you after reading.

0 comments


Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

you may also like