html
  1. html-br-tag

HTML <br> Tag

  • The HTML <br> tag is used to give a line break on a web page.
  • It is a self-closing tag, which means that it does not require a closing tag.

<!DOCTYPE html>
<html>

<head>
    <title>additionalsheet</title>
</head>

<body>
    <p>This is a paragraph.<br>
        This is a new line in the same paragraph.</p>
</body>

</html>
Try Playground
  • Appears on a new line within the same paragraph due to the <br> tag.
  • It's commonly used for addresses, poems, or anywhere a line break is necessary within the flow of text.
Published on: