HTML Code for Br

Introduction to the <br> tag

The <br> tag in HTML stands for line break. It is used to break the current line and move the text/content to the next line without starting a new paragraph.

Usage of the <br> tag

The <br> tag is a self-closing tag, meaning it does not require a separate closing tag. It is commonly used to separate lines of text, such as in addresses or poems, where line breaks are significant.

Best Practices for using the <br> tag

It is recommended to use the <br> tag for line breaks within the textual content only. For layout and spacing purposes, CSS is the preferred method.

Example code

This is a line of text.
This is a new line of text.

Go from files to website in seconds.

Start a free trial for 7 days — no credit card required

Get Started for Free