<nobr> HTML Tag

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Element of
Learn How Fonts And Web Typography Work In HTML: A Beginner's Guide
What does <nobr> HTML Tag do?
The <nobr> element identifies text that should not be allowed to break into multiple lines which can force users to scroll horizontally to view the content. This element is obsolete and should be used.
Null element
This element must not contain any content, and does not need a closing tag.

The <nobr> element was designed to stop text breaking onto a new line. It is not widely implemented and may cause unexpected results. Although it is not officially deprecated, it is not recommended. Use CSS to achieve the same result.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

Browser Support for nobr

Not supported.Not supported.Not supported.Not supported.Not supported.Not supported.