wbr Tag in HTML


A text with word break opportunities:

<p>To learn AJAX, you must be familiar with the XML<wbr>Http<wbr>Request Object.</p>

Definition and Usage

The <wbr> (Word Break Opportunity) tag specifies where in a text it would be ok to add a line-break.

Tip: When a word is too long, the browser might break it at the wrong place. You can use the <wbr> element to add word break opportunities.

Global Attributes

The <wbr> tag also supports the Global Attributes in HTML.

Event Attributes

The <wbr> tag also supports the Event Attributes in HTML.

Related Articles