Text Content
HTML <br> element
Inserts a meaningful line break within text, such as in a poem or address. Do not use repeated br elements to create layout spacing. A break remains within the same semantic text block. Use separate paragraphs for distinct thoughts and CSS for spacing. A closing br tag is not valid HTML. It accepts global HTML attributes; individual global features may be inapplicable or restricted.
Formal Syntax & Structure
html syntaxhtml
<br>Return Value
HTMLBRElement
Content model: Empty; this void element cannot contain children and must not have an end tag. No closing tag.
Working Example
Example Snippethtml
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>HTML example</title> </head> <body> <p> First line <br> Second line </p> </body></html>