Name

<NOBR> — NN all IE all HTML n/a

Synopsis

<NOBR>...</NOBR>

End Tag: Required

The NOBR element instructs the browser to render its content without wrapping the text to the next line at the right edge of the window or container. Even if there are carriage returns in the source code for the element’s content, the browser flows the text as one line. Although this might seem convenient in circumstances involving careful layout of pages, it may mean the user has to scroll horizontally to view the text—not something most users like to do. Despite the longevity of the NOBR element in commercial browsers, it has never been mentioned in formal HTML recommendations.

Example

<NOBR>
Now is the time for all good men to 
come to the aid of their country, even if
the text forces them to scroll horizontally.
</NOBR>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CLASS

ID

STYLE

TITLE

 

Object Model Reference

IE

[window.]document.all.elementID

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.