<tutorialjinni.com/>

HTML En Dash Code

HTML Code &#8211;
CSS3 Code \2013
HTML Entity &ndash;
Hex Code &#x2013;
UNICODE U+02013
URL %26%238211%3B

Usage Examples


To use En Dash in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
    span {
      content: "\2013";
    }
</style>
To use En Dash in in-line HTML code you can use it "as it is" but, it is recommend that En Dash should be used like the following example code. Because it help in assigning special CSS to it.
    <!-- html usage -->
    <i>&#8211;</i>
In order to send En Dash via a HTML form or via a query string it should be properly encoded. Following is the URL encoded format of En Dash. Do not forget to Decode it on the server side.
    http://www.tutorialjinni.com/html-symbols-entity-codes.html?html-en-dash-code=%26%238211%3B
© Tutorial Jinni