Line Break – <br>
![Exploring Line Breaks in HTML & CSS](/_next/image/?url=https%3A%2F%2Fstatic.d-libro.com%2F01-course-content-images%2F1011-10-HTML-CSS-Introduction%2F010-main-figures%2Fline-break-br-id101110200210.webp&w=1920&q=75)
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.
Subscribe now for
uninterrupted access.