Curriculum ▸ HTML Zero → Mastery ▸ Lesson 14: Line Breaks (<br>) Foundations

Lesson 14 — Line Breaks <br>

Learning Goals

Part 1 — What is <br>?

The <br> element inserts a **line break** inside text, moving following content to the next line. It is an **empty element** (no closing tag).

Part 2 — Example

<p>Roses are red.<br>
Violets are blue.<br>
I am learning HTML.</p>

Result: Each sentence appears on its own line inside the paragraph.

Part 3 — Best Practices

Part 4 — Common Mistakes

Quick Quiz

  1. What does <br> do?
  2. True/False: You should use <br> to create vertical spacing.
  3. Should you use <br> or <p> for a new paragraph?
Sample Answers
  • It inserts a line break.
  • False — use CSS margins for spacing.
  • <p> is correct for paragraphs.

Mini Project — Short Poem

Create a page with a short poem using <br> for each new line. Then try rewriting it with <p> tags and compare the difference.

Lesson 14 Dictionary

br (<br>)
An empty element that forces a line break inside text.
Line Break
A place where text continues on the next line without starting a new paragraph.
Paragraph (<p>)
A block-level element for separate text sections. Preferred over <br> for full paragraphs.