Hyphen ‐

‐

Click above button to copy and paste Hyphen.

Shortcodes

Copy and paste shortcodes for Hyphen ‐ symbol.

UnicodeU+2010
Alt Code8208
HTML Code‐
CSS Code\2010
HEX Code‐
emoji copy and paste
  • How to type ‐ Hyphen symbol from keyboard?

    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 in HTML?

    To add the ‐ Hyphen 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 in CSS?

    To display the Hyphen 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
    .addSymbol:after {
    Β Β content: ' \2010';
    }

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

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

    Hyphen ‐

Discover More Punctuation Symbols To Copy Paste