HTML Element: br



<p>John Doe <br> created a new account yesterday.</p>


Browser Support

The <br> tag is supported in all modern browsers but must be used where phrasing content is expected. Read more on


The <br> tag supports Global Attributes in HTML. Global Attributes are common to all HTML elements and can be used on all of them (though they may not have much of an effect on some of them).


The <br> tag is a void element, which means it has no content model.

Gimme a Break

Is it <br>, <br/> or <br />? There’s often confusion on which way to write the br tag in today’s HTML5 standards.

<br> is sufficient, and modern browsers are forgiving enough to convert other variants to that one. Remember that a br tag is a self-closing tag so it doesn’t surround nor describe any content.

Learn More

Did you know: If a paragraph (<p> </p>) consists of nothing but a single <br> element, it represents a blank line? These lines mustn’t be used for presentation purposes.

Source link