Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <wbr> tags


May 05, 2021 HTML Reference Manual


Table of contents


HTML.lt;wbr> tags

Labels can be used to define where liner is required in HTML documents, unlike labels, which are not new if the browser window is wide enough, and conversely, where the label is added, refer to the following example:

A piece of text with Word Break Opportunity:

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

Try it out . . .

Browser support

HTML <wbr> tags HTML <wbr> tags HTML <wbr> tags HTML <wbr> tags HTML <wbr> tags

All major browsers support the hashtag, except Internet Explorer.


Label definition and instructions for use

The Word Break Opportunity label specifies where line breaks are appropriate in the text.

Tip: If the word is too long, or if you're worried that the browser will line up in the wrong place, you can add Word Break Opportunity using the .lt;wbr?gt; element.


The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.


Global properties

Labels support the global properties of HTML.


The event property

The tag supports the event properties of HTML.


Related articles

HTML tutorial: HTML formatting