<wbr>
HTML <wbr> Tag
Instance
<!DOCTYPE html> <html> <body> <p>Try to shrink the browser window, to view how the word "XMLHttpRequest" in the paragraph below will break:</p> <p>To learn AJAX, you must be familiar with the XML<wbr>Http<wbr>Request Object.</p> <p><b>Note:</b> The <wbr> tag is not supported in IE.</p> </body> </html>
Run Example»
Click the "Run Instance" button to view the online instance
Browser support
All major browsers support< wbr> tag, except in Internet Explorer.
Tag definition and usage instructions
<wbr> (Word Break Opportunity) tag specifies where in the text it is appropriate to add a line break.
Tip:If the word is too long, or you are worried that the browser will break the line at the wrong place, then you can use the <wbr> element to add Word Break Opportunity (word break opportunity) .
Differences between HTML 4.01 and HTML5
The<wbr> tag is a new tag in HTML5.
Global attributes
<wbr> tag supports HTML global attributes.
Event attributes
<wbr> tag supports HTML event attributes.