HTML Entity Detail

HTML Entity - Soft Hyphen (dis­cre­tion­ar­y Hy­phen)

Soft Hyphen (dis­cre­tion­ar­y Hy­phen) 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+00AD

HTML entity

­

CSS code

\00AD

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.

Soft Hyphen (dis­cre­tion­ar­y Hy­phen)

Select any code to highlight it before copying.

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