โœ˜
Web logo  UseSymbol

โ€ Hyphen Symbol

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

Copy and paste shortcodes for โ€ Hyphen.

Unicode U+2010
Alt Code 8208
HTML Code ‐
CSS Code \2010
HEX Code ‐

How to type โ€ Hyphen?

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 8208 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 Hyphen Symbol in HTML?

To add the โ€ Hyphen 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 Hyphen. Here is the example:

// HTML code example
<span>I am &#8208; Symbol</span>
// HEX code example
<span>I am &#x2010; Symbol</span>

All the above example will display the Hyphen symbol as below.

I am โ€ symbol.

How to add Hyphen Symbol in CSS?

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

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

// The HTML
<div class="useSymbol">Hyphen</div>

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

Hyphen โ€

Copy Paste More Punctuation Symbols

Explore All Symbols โž”