Em Dash
An em dash is used to create a strong break in a sentence, adding emphasis or indicating an interruption. It is longer than a hyphen or en dash. It's popular in AI-generated content; however, it has been used by writers for a long time before AI.
Shortcodes
Copy and paste codes for Em Dash symbol — to use in your websites, apps, blogs, and more.
U+2014
0151
—
—
—
\2014
\u2014
0x2014
%E2%80%94
Customize Em Dash Symbol
Customize — symbol as you like and download Em Dash as SVG or PNG or copy its HTML code to use in your projects.
How to type Em Dash symbol — ?
Using Em Dash Alt Code:
You can type the Em Dash symbol — using your keyboard by using the Alt Code for Em Dash. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:
- Hold down the Alt key on your keyboard.
- Type the number 0151 using the Numpad.
- Release the Alt key.
This will make the — appear on your screen.
How to add Em Dash symbol in HTML, CSS, and JS?
Insert — Em Dash using HTML
<span>—</span>
<span>—</span>
<span>—</span>
<span>—</span>
Add Em Dash symbol with CSS
.em-dash::before {
content: '\\2014';
}
Em Dash JavaScript Code
document.querySelector('.em-dash').textContent = '—';
document.querySelector('.em-dash').textContent = '\u2014';