HTML5 <wbr> Tag
ExampleA text with a line-break opportunity:
Try it yourself » |
Definition and Usage
The <wbr> tag defines where in a word it would be ok to add a line-break.
When a word is to long, or you are afraid that the browser will break your lines at the wrong place, use the <wbr> element as a line-break opportunity.
Differences Between HTML 4.01 and HTML5
The <wbr> tag is new in HTML5.
Standard Attributes
The <wbr> tag also supports the Standard Attributes in HTML5.
Event Attributes
The <wbr> tag also supports the Event Attributes in HTML5.