HTML Entity - En Dash

Last Updated:

En Dash

unicodeU+02013
hex code–
html code–
html entity–
css code\02013

Example

The following example will demonstrate how to use 'En Dash' HTML entity using HTML and CSS. For a complete reference, go to our HTML Entities.

HTML Online Compiler
<!DOCTYPE html> <html> <head> <style> #point:after{ content: "\02013"; } </style> </head> <body> <p>EN Dash using Hexa Decimal: &#x2013;</p> <p>EN Dash using HTML Code: &#8211;</p> <p>EN Dash using HTML Entity: &ndash;</p> <p id="point">EN Dash using CSS Entity: </p> </body> </html>

Browser Support

Devicedesktopmobile
Browsergoogle chromesafarifirefoxinternet Exploreredgeoperagoogle chromesafarifirefoxedgeoperaandroid webviewsamsung internet
YesYesYesYesYesYesYes?YesYesYesYes?

Share this Page

Meet the Author