Description:

The HTML <wbr> tag is used for specifying a line break opportunity.

The <wbr> tag can be used on very long words or other long strings of text with no spaces. Without the <wbr> tag, these long strings of text could either wrap in strange place (making it difficult to read), or not wrap at all - inadvertently pushing the page layout to the side (again, making it difficult to read and view the document as intended).

Example Code:
<p>
The longest word in a major dictionary is: Pneumonoul<wbr>tramicroscopic<wbr>silicovol<wbr>canoconiosis which contains 45 letters
</p>
Result:
The longest word in a major dictionary is: Pneumonoultramicroscopicsilicovolcanoconiosis which contains 45 letters
Attributes:

None

Global Attributes:

The <wbr> tag also supports the Global Attributes in HTML5

Event Attributes:

The <wbr> tag also supports the Event Attributes in HTML5



Last updated on 2 August 2018 By Rene Spronk

View All HTML Tags

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.