HTML <wbr> tag
The <wbr> tag stands for 'Word Break Opportunity' in a string of text. It is useful for very long words such as pneumo
It is an empty tag so that it does not have an end tag.
Type: Inline Element
Syntax of <wbr> tag
<wbr> Very Long text </wbr>
Supported Browsers
| Tag | Chrome | Internet Explorer | Firefox | Safari | Opera Mini |
|---|---|---|---|---|---|
| <wbr> | 1.0 or higher | 12.0 or higher | 3.0 or higher | 4.0 or higher | 11.7 or higher |
Full code example
<!DOCTYPE html> <html> <head> </head> <body> <p> The lung disease cause by inhaling of fine ash and sanddust is pneumonoul<wbr>tramicros<wbr>copic<wbr>silico<wbr>volcano<wbr>coniosis. </p> </body> </html>
Output on the browser
The lung disease cause by inhaling of fine ash and sanddust is pneumonoul
More reference
The <wbr> tag is new in HTML5.
