<br>

Represents a break in text. This tag is used when text needs to span multiple lines rather than being in-line, such as an address.

Syntax

Loading...

The <br> tag will move the text after it to a new line.

Example

Suppose there is an address that needs to be shown to the user so that they may mail a payment. It is important that the address is formatted in the standard way, to prevent confusion

Loading...
Interested in helping build Docs? Read the Contribution Guide or share your feedback.

Learn HTML on Codecademy