Word break with <wbr> (break the word) or ­ (word include with dash after the word break). Resize the browser to see the demo. DEMO superextralongword superextra long word superextralongword HTML < h1 > superextralongword </ h1 > < h1 > superextra < wbr > long < wbr > word </ h1 > < h1 > superextra & shy; long & shy;word </ h1 >