Latest web development tutorials

HTML <wbr> tag

Examples

Word Break Opportunity with some text:

<p>学习 AJAX ,您必须熟悉 <wbr>Http<wbr>Request 对象。</p>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the <wbr> tag, in addition to Internet Explorer.


Tag definitions and instructions

<Wbr> (Word Break Opportunity) labeling requirements in the text where appropriate to add a line break.

Tip: If the word is too long, or you're worried about your browser will wrap in the wrong place, you can use the <wbr> element to add a Word Break Opportunity (word wrap timing).


Differences between HTML 4.01 and HTML5

<Wbr> tag is new in HTML5 tags.


Global Properties

<wbr> tag supports HTML global properties .


Event Properties

<wbr> tag supports HTML event properties .