Introduced in HTML5
The Word Break Opportunity (
<wbr>) HTML element represents a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.
On UTF-8 encoded pages,
<wbr> behaves like the
ZERO-WIDTH SPACE code point. In particular, it behaves like a Unicode bidi BN code point, meaning it has no effect on bidi-ordering:
<div dir=rtl>123,<wbr>456</div> displays, when not broken on two lines,
123,456 and not
For the same reason, the
<wbr> element does not introduce a hyphen at the line break point. To make a hyphen appear only at the end of a line, use the soft hyphen character entity (
This element was first implemented in Internet Explorer 5.5 and was officially defined in HTML5.
|Tag omission||It is an empty element; it must have a start tag, but must not have an end tag.|
|Permitted parent elements||Any element that accepts phrasing content.|
|Normative document||HTML 5, section 4.6.24|
This element only includes the global attributes.
This element implements the HTMLElement interface.
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Feature||Android||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||1.5||1.0||Not supported||Not supported||Not supported|