En Dash
–
Shortcodes
Copy and paste codes for En Dash symbol – to use in your websites, apps, blogs, and more.
Unicode
U+2013
Alt Code
0150
HTML Code
–
HTML Entity
–
HEX Code
–
CSS Code
\2013
JS/JSON
\u2013
Unix/C/PHP/JAVA
0x2013
URL-encode
%E2%80%93
copied
Customize En Dash Symbol
Customize – symbol as you like and download En Dash as SVG or PNG or copy its HTML code to use in your projects.
Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
–
How to type En Dash symbol – ?
Using En Dash Alt Code:
You can type the En Dash symbol – using your keyboard by using the Alt Code for En Dash. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:
- Hold down the Alt key on your keyboard.
- Type the number 0150 using the Numpad.
- Release the Alt key.
This will make the – appear on your screen.
How to add En Dash symbol in HTML, CSS, and JS?
Insert – En Dash using HTML
1. Copy-paste En Dash directly:
<span>–</span>
2. HTML Decimal Code:
<span>–</span>
3. HTML Entity:
<span>–</span>
4. Hexadecimal Code:
<span>–</span>
Preview: –
Add En Dash symbol with CSS
.en-dash::before {
content: '\\2013';
}
Preview: En Dash
En Dash JavaScript Code
1. Direct Symbol:
document.querySelector('.en-dash').textContent = '–';
2. Unicode Escape for –:
document.querySelector('.en-dash').textContent = '\u2013';
Preview: –
Related Punctuation Symbols
View all Punctuation Symbols:
Fullwidth Colon
!
Fullwidth Exclamation Mark
?
Fullwidth Question Mark
¡
Upside Down Exclamation Mark
¿
Upside Down Question Mark
᠊
Mongolian Nirugu
‾
Overline
‗
Double Low Line
֊
Armenian Hyphen
᐀
Canadian Syllabics Hyphen
᭠
Balinese Pameneng
᠆
Mongolian Todo Soft Hyphen
᠇
Mongolian Sibe Syllable Boundary Marker
‑
Non-breaking Hyphen
‐
Hyphen
‒
Figure Dash
―
Horizontal Bar
⸺
Two-em Dash
⸻
Three-em Dash
⁓
Swung Dash
⹃
Dash With Left Upturn
⸗
Double Oblique Hyphen
⹀
Double Hyphen
⸴
Raised Comma
⸲
Turned Comma
⹁
Reversed Comma
՝
Armenian Comma
،
Arabic Comma
؍
Arabic Date Separator
٫
Arabic Decimal Separator
٬
Arabic Thousands Separator
߸
Nko Comma