nobr

Support

Renders the enclosed text without line breaks.

The nobr element allows authors to create a non-breaking line of text. With the wbr element you can specify the point where a line break is allowed to be inserted if needed.

For similar functionality, see the white-space style property.

Example

<nobr>This long long text ... will not be broken.</nobr>
<nobr>This text can only be broken <wbr />here.</nobr>

Preview

This long long text ... will not be broken. This text can only be broken here.