โœ˜
Web logo  UseSymbol

โ€” Em Dash Symbol

โ€”
Click above button to copy โ€” symbol
Shortcodes

Copy and paste shortcodes for โ€” Em Dash.

Unicode U+2014
Alt Code 8212
HTML Code —
CSS Code \2014
HTML Entity —
HEX Code —

How to type โ€” Em Dash?

To type the โ€” using the keyboard you can the Alt code from the shortcode section. Here are the two simple steps to type the โ€” using Alt code from your keyboard. Make sure you switch on the Num Lock from the keyboard and you type the number from the Numpad and not from the top row of the keyboard.

  1. Hold down the left Alt Key from your keyboard.
  2. Type the Alt code number 8212 and release the Alt key.

Once you release the Alt key, the โ€” symbol will be displayed. This trick will work for other special characters also.


How to add Em Dash Symbol in HTML?

To add the โ€” Em Dash Symbol in HTML, you can use an HTML entity, an HTML code(decimal), and a Hex code. Use the shortcode section to copy the various shortcodes for the Em Dash. Here is the example:

// HTML entity example
<span>I am &mdash; Symbol</span>
// HTML code example
<span>I am &#8212; Symbol</span>
// HEX code example
<span>I am &#x2014; Symbol</span>

All the above example will display the Em Dash symbol as below.

I am โ€” symbol.

How to add Em Dash Symbol in CSS?

To display the Em Dash Symbol from CSS, you can use a CSS shortcode or CSS entity. Use the shortcode section to copy the CSS entity code for the Em Dash. You can only add content :before or :after an element: Here is the example:

// CSS entity code example
.useSymbol:after {
  content: ' \2014';
}

// The HTML
<div class="useSymbol">Em Dash</div>

The above example for CSS entiry for Em Dash symbol will display the result as below.

Em Dash โ€”

Copy Paste More Punctuation Symbols

Explore All Symbols โž”