asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Elements > WBR Element

<wbr> Element


Denotes a place where a word break can occur.HTML 5

HTML Syntax

NOTE: Only the start tag must be present. The element has no end tag.

Remarks

The <wbr> element denotes a soft line break, or a break that happens only when needed, as when the browser window gets small enough.

It does not result in a line break; rather, it specifies a position within text where the browser may optionally break a line if necessary, sort of like the word wrap feature in most document editors.

<wbr> is particularly useful for setting soft breaks in exceptionally long words.

Without the element, exceptionally long continuous words will not wrap even when the browser window gets small enough.

Attributes

The <wbr> element has no attribute of its own, but supports global attributes common to all HTML elements.

Example

The following example shows how the <wbr> element may be used.

 Show me 

External References

See Also

BR   NOBR


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note