HTML <wbr> (Word Break) Tag

❮ Previous Reference Next ❯

Example

<p>http://this<wbr>.is<wbr>.a<wbr>.really<wbr>.long<wbr>.example<wbr>.com/With<wbr>/deeper<wbr>/level<wbr>/pages<wbr>/deeper<wbr>/level<wbr>/pages<wbr>/deeper<wbr>/level<wbr>/pages<wbr>/deeper<wbr>/level<wbr>/pages<wbr>/deeper<wbr>/level<wbr>/pages</p>

Meaning

The <wbr> element is used to indicate a place where a line break can occur if necessary. which is used to keep text from wrapping. When used this way, <wbr> can be thought of as a soft line break in comparison to a <br> tag.

Notes & Tips:

Version: HTML5


Standard Syntax

HTML: <wbr>

XHTML: <wbr />

Browser Support

Status







Global Attributes

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


Event Attributes

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

❮ Previous Reference Next ❯