HTML | <nobr> Tag

The <nobr> tag is used to create a single line text, that does not matter how long the statement is, this tag used with <wbr> tag. The created single line statement bring the horizontal scroll to read the whole line. The <nobr> tag is exact opposite of <br> tag. You can use the CSS white space property as a replacement of this tag.


<nobr> Statement </nobr>

Attribute: This tag doesn’t contain any attribute.

Below example illustrates the HTML <nobr> tags:





<!Doctype html>
    <title>HTML nobr Tag</title>
    <isindex prompt="Search" />
        h1 {
            color: green;
        <h4>HTML <nobr> tag</h4>
            Articles that need little modification/improvement
        from reviewers are published first. To quickly get your 
        articles reviewed, please refer existing articles, their
        formating style, coding style, and try to make your close
        to them.



Supported Browsers: The browsers supported by HTML <nobr> tag are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.