HTML & CSS Word Breaks, Hyphenation & Whitespace

Links

Word Breaks

Word Break (wbr)

Used to insert into a word where it would be appropriate to break it apart if it was too long to fit on a single line.

<wbr>

Word Break Number (Unicode?)

&#8203;

Hyphenation

Unicode Name Reference HTML Character Decimal Rendered UTF-8 Notes
HYPHEN-MINUS U+002D &hyphen; (entity) &#45; -
HYPHEN-MINUS U+002D &minus; (entity) &#45;
HYPHEN U+2010 &#x2010; (reference) &#8208;
NON-BREAKING HYPHEN U+2011 &#x2011; (reference) &#8209;
Soft Hyphen (the shy one) &shy; | &#xAD; (entity) &#173; ­ Placed to insert a hyphen if the word needs to break at the end of a line.
en dash &ndash;
em dash &mdash;

White Space

No Break

<nobr> This will-not-break</nobr>

Proprietary element that is not part of any W3C spec but is universally supported by all web browsers.