Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

wbr

The <wbr> element is used to insert line break opportunities in long strings that have no spaces. It takes effect where the long string meets the edge of its parent container.

Code Example

aaaaaaaaaa<wbr>bbbbbbbbbb<wbr>cccccccccc<wbr>dddddddddd<wbr>eeeeeeeeee<wbr>ffffffffff<wbr>gggggggggg open in code editor

Attributes

globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation

http://www.w3.org/TR/html/text-level-semantics.html#the-wbr-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr