HTML <wbr> ປະເພດ

Definition and Usage

<wbr>(Word Break Opportunity) tag specifies the positions suitable for adding line breaks in the text.

Tip:When a word is too long, the browser may break it at an incorrect position. You can use <wbr> The element adds opportunities for word hyphenation.

Example

Text with hyphenation opportunities:

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

Try it yourself

Global Attributes

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

Event Attributes

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

Browser Support

Numbers in the table indicate the first browser version that fully supports this property.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
1.0 12.0 3.0 4.0 11.7