html br tag


  Translation results:

abbr.Brazil Brazil;Beam-riding beam guidance

html br tagsyntax

brWhat does the label mean?

Function: Insert a simple newline character.

Explanation: <br> tag is an empty tag (meaning it has no closing tag, so this is an error: <br></br>). In XHTML, place the closing tag within the opening tag, i.e. <br />. Note that the <br> tag simply starts a new line, whereas the browser usually inserts some vertical spacing between adjacent paragraphs when it encounters the <p> tag.

Note: In HTML, the <br> tag does not have a closing tag. In XHTML, the <br> tag must be closed properly, like this: <br />.

html br tagexample

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
如果你需要<br>换行,<br>你可以使用“br”标签。
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A