How do I insert an en dash in HTML?

How do I insert an en dash in HTML?

To type a hyphen in html or Microsoft Word, just press the hyphen key. The html codes for the en dash are – or – To type an en dash in Microsoft Word, press the Ctrl and minus sign keys on the numeric keypad (on a standard keyboard). Or press the Alt key while typing 0150 on the numeric keypad.

What is the character code for em dash?

Make an em dash or en dash with a keyboard shortcut On Windows it’s… less simple: you need to use an alt code to get an em dash. If you have a numeric keyboard, hold down the Alt key and type 0151 for an em dash or 0150 for an en dash.

How do I type an en dash?

Insert an Em or En dash using shortcut keys To create an Em dash, use the shortcut key combination Ctrl + Alt + – . To create an En dash, use the shortcut key combination Ctrl + – . Num Lock must be enabled and you need to use the minus key on the numeric keypad.

What is an en dash in HTML?

The en dash is a punctuation mark that can be used to range a span of numbers, report results or scores, represent conflict, connection, or direction, or for compound adjectives. It should not be confused with the em dash — which can be used in place of commas, parentheses, or colons. To create an en dash in HTML, use the appropriate HTML entity.

What are the character entity references in HTML?

The following sections present the complete lists of character entity references. The following table lists the the essential entities in HTML. The following table lists the entities for currency symbols. The following table lists the entities for copyright, trademark, and registered symbol.

What are the types of entities in HTML?

HTML Character Entities 1 Essential Entities. The following table lists the the essential entities in HTML. 2 Currency Symbols. The following table lists the entities for currency symbols. 3 Copyright, Trademark, and Registered Symbol. 4 General Punctuation. 5 Arrows. 6 Mathematical Symbols. 7 Greek Letters. 8 Miscellaneous.

What is a reserved character entity in HTML?

HTML Entities Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your text, the browser might mix them with tags. Character entities are used to display reserved characters in HTML.