wbr
wbr
This page has been flagged with the following issues:
High-level issues:
Summary
The Word Break Opportunity (wbr) 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.
Overview Table
| DOM Interface | HTMLElement |
|---|
Examples
This example uses the WBR element to create line breaks. In contrast, the NOBR element does not break lines.
<NOBR>This line of text will not break, no matter how narrow the window gets.</NOBR> <NOBR>This one, however,<WBR> will break after the word "however," if the window gets small enough.</NOBR>
Notes
Remarks
A soft line break is a point inside a NOBR section at which a line break is permitted but not required.
On UTF-8 encoded pages,<wbr> behaves like the U+200B ZERO-WIDTH SPACE code point. In particular, it behaves like a Unicode bidi BN code point, meaning it has no effect on bidi-ordering: 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 (­) instead.
Standards information
- HTML 4.01 Specification (Obsolete)
HTML information
{
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
br
This article contains content originally from external sources.
Portions of this content come from the Mozilla Developer Network
: Article
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here