Skip to content
Related Articles

Related Articles

Improve Article
HTML <br> Tag
  • Difficulty Level : Basic
  • Last Updated : 09 Feb, 2021

The <br> tag in HTML is used to give the single line break. It is an empty tag so it does not contain an end tag.


Attributes: This tag once accept an attribute called clear,

  • clear: Indicates where to begin the next line after the break.



<!DOCTYPE html>
        <h2>br Tag</h2>
        <!-- br tag is used here -->
        <p>GeeksforGeeks: <br> Computer science portal</p>


Supported Browsers: 

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up
Recommended Articles
Page :