<nobr> HTML Tag

Sharing is caring!

Element of
Guide To Fonts And Web Typography No HTML Developer Can Do Without
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.