Language References
Renders text without line breaks. | HTML 2, 3.2, 4, 4.01 |
HTML Syntax
<nobr
class = classname
id = value
style = css properties
title = text
event = script
>
The NOBR element ensures that a line of text does not wrap to the next line. This is useful for words or phrases that must be kept together on one line.
However, note that if the line of text is long, it can extend beyond the margin of the browser window, so the user must use scrollbars to view the text.
The <nobr
> element has no attribute of its own, but supports global attributes common to all HTML elements.
NOTE: Only the
NOBR Members
The following example uses the NOBR element to display a long line of text.
<nobr>Line breaks are not inserted into text contained within a <b>nobr</b> block.
This tag should be used with care, since it can create <i>really</i> long lines of text.</nobr>
Line breaks are not inserted into text contained within a nobr block. This tag should be used with care, since it can create really long lines of text.
BR WBR