How does hyphenation work?
HTML defines a special character for hyphenation. The soft- hyphen () is an invisible character that communicates to web browsers allowable line breaks within words. When a web browser wraps a line at a soft- hyphen, a hyphen is shown at line’s end. HTML also defines a zero- space character (). Similar to the soft- hyphen, the zero- space character communicates allowable line breaks within strings of text. But unlike the soft- hyphen, it does not show a hyphen at line’s end. This is ideal for forcing consistent wrapping of long URLs. It also can be used to force line breaks in uncooperative web browsers after hard- hyphens in words like “zero- space” and “soft- hyphen”.