Language References
Denotes a place where a word break can occur. | |
HTML Syntax
<wbr
class = classname
id = value
style = css properties
title = text
event = script
>
The WBR element denotes a soft line break, or a break that happens only when needed, as when the browser window gets small enough.
It does not result in a line break; rather, it specifies a position within text where the browser may optionally break a line if necessary, sort of like the word wrap feature in most document editors.
Line breaks are normally not inserted into text contained within a NOBR block, which can produce some awkwardly long lines. If the text contains a <wbr
> tag, however, it marks a location where the insertion of a line break is permitted.
NOTE: Only the
The <wbr
> element has no attribute of its own, but supports global attributes common to all HTML elements.
<nobr>This line of text will not break, no matter how narrow the window gets.
This one, however, will break after this word "however", <wbr> if the window gets small enough.</nobr>
This line of text will not break, no matter how narrow the window gets. This one, however, will break after this word "however", if the window gets small enough.
BR NOBR