Line Break – <br>

Exploring Line Breaks in HTML & CSS

The <br> element is used to create a line break. The <br> element is a void element. There is no end tag for this element.

Why is the <br> element needed?

HTML doesn't recognize line breaks. For example, the code below has two line breaks; however, the line breaks are not rendered in the browser.

HTML & CSS Introduction
Course Content