The HTML <wbr> tag defines a potential line break point if needed. This stands for Word Break Opportunity.
<!DOCTYPE html> <html> <head> <title>HTML wbr Tag</title> </head> <body> <wbr />The browser to extend the document window beyond the size of the viewing pane and the poor user must scroll right<wbr /> </body> </html>
This will produce the following result −
This tag supports all the global attributes described in − HTML Attribute Reference
This tag supports all the event attributes described in − HTML Events Reference
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |