HTML5 <wbr> Tag

Example

A text with a line-break opportunity:

<p>
Learn HTML<wbr>XML<wbr>PHP , Java.
</p>
Code it Online »

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.


Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!