HTML Tutorial

HTML Tag: <br>

<br> (Break) is an empty HTML element used to create a line break.

Usage of <br>

  • Insert a new line in text without adding extra space.
  • Separate paragraphs or list items.
  • Create a layout by breaking up content into smaller sections.

Attributes of <br>

<br> has no attributes.

Examples with <br>

<h1>My Heading</h1>
<p>This is a paragraph.<br>
This is a new line.</p>

Exploring the <br> tag

HTML:

<h1>Line Break Example</h1>
<p>This sentence has<br>
a line break.</p>

Output:

Line Break Example

This sentence has a line break.