HTML Entity Detail

HTML Entity - Non-breaking Hyphen

Non-breaking Hyphen is a punctuation marks and special text formatting characters. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.

Symbol preview
Unicode

U+2011

HTML entity

CSS code

\2011

Usage Examples

Use this HTML entity in professional typography for dashes, ellipsis, and special punctuation. For example, — for em-dash, … for ellipsis.

Common Mistakes

⚠️

Mistake: Using hyphens where em-dashes or en-dashes are needed

Fix: Use — (—) for breaks in thought, – (–) for ranges (2010–2020), and a hyphen (-) only for compound words (well-known). These are three distinct punctuation marks.

⚠️

Mistake: Using three periods instead of the proper ellipsis character

Fix: Use … (…) for ellipsis. Three separate periods may break across lines and look uneven. Also, don't put spaces between the dots.

Non-breaking Hyphen

Select any code to highlight it before copying.

Category: Punctuation Marks
Unicode U+2011
Hex Code ‑
HTML Code ‑
HTML Entity
CSS Code \2011
Windows Shortcut ⇧Strg - (*)
Mac Shortcut ⇧⌘- (*)
HTML code example
CSS code example
Last updated: 21 Jun 2026