HTML br tag

What is the HTML Line Break Tag (<br>) and How Is It Used?

The <br> tag uses for line break. When you want to write text in new line, without skipping a blank line so you can use <br> tag. It breaks the line and move text to next line. <br> is an example of one of the empty tags. Example


<html>
    <head></head>
    <body>
      This is my first webpage. <br>HTML very easy to learn. <br>Hello World.
    </body>
</html>
Output

This is my first webpage.
HTML very easy to learn.
Hello World.

FAQ 1. Can I use the <br> tag inside a heading? Yes, you can use the <br> tag inside heading elements such as <h1>, <h2>, and <h3> when you want to display heading text on multiple lines. 2. Can I use the <br> tag inside a table? Yes, you can use the <br> tag inside table cells such as <td> and <th> to display multiple lines of content within the same cell. 3. Is the <br> tag a block-level or inline element? The <br> tag is an inline-level element that creates a forced line break in text. It does not create a separate block container like a paragraph or division element.