< All the HTML Tags >

<nobr></nobr>

Video Coming Soon...

  • nobr

    Tag Type

    inline

    Tag Category

    text formatting

    Prevents line breaks in text

    Viewed

    1

    Examples

    1

Definition:

The HTML <nobr> tag was used to prevent text from wrapping onto the next line, but it is now deprecated.

Instead, developers are encouraged to use CSS properties like white-space: nowrap; for controlling text wrapping, as it provides better control and is more widely supported.

Attributes:

Deprecated in HTML5, Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default nobr Example:

Using the <nobr> tag to prevent text from breaking.
<nobr>No Line Break</nobr>

Default nobr Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…