While the hyphen is easy to find on a keyboard, it’s much more difficult to find the dash, let alone choose between the en-dash and the em-dash. Some people resort to using two hyphens to appropriate a dash (–), but this looks unprofessional.
Dash on a PC keyboard
You can create a dash on a PC by holding down the ALT key and typing either 0150 (en-dash) or 0151 (em-dash). The en-dash and em-dash are similar but have slight differences. This website explains the difference between the en-dash and em-dash.
Only use the numbers on the keypad to the right of your keyboard. This will not work using the numbers above the letters on the keyboard.
The Apple Mac keyboard and the dash
The en-dash can be created by pressing the option and dash keys at the same time on the Mac. You need to press the shift-option and the minus key to create the em-dash.
Dash and HTML
The HTML value for en-dash is – and the em-dash is —. Type these into your HTML to add a dash to your website.
Creating a Dash in Microsoft Word
You can automatically create an em-dash by typing two hyphens between two words in Microsoft Word. To add an en-dash, you’ll need to go to insert>symbol> and select it from the list of symbols. You can also select an em-dash using this method.