Em Dash

U+2014

Quick Reference
Unicode
U+2014
HTML Entity
—
HTML Numeric
—
CSS
\2014
JavaScript
\u2014
Windows Alt Code
Alt+0151
How to Type
OSLayoutShortcut
Windows(you)UsAltGr + Shift + -
WindowsUkAltGr + Shift + -
WindowsGermanAltGr + Shift + -
macOSUsOption + Shift + -
macOSUkOption + Shift + -
macOSGermanOption + Shift + -
Insert Em Dash in Word, Excel & Google Docs
ApplicationHow to insert Em Dash
Windows (any app)Hold Alt and type 0151 on the numeric keypad
Microsoft WordType 2014, then press Alt+X
Excel / Google SheetsUse the formula =UNICHAR(8212)
Google DocsInsert → Special characters, then search "em dash"
HTML— or —
CSS (content property)content: "\2014"
JavaScript"\u2014"
About Em Dash

The em dash is a typographic dash the width of the letter 'M'. It is the longest common dash.

Usage

Used for parenthetical statements — like this — in place of commas or parentheses. Also used to attribute quotes and indicate interrupted speech.