<tutorialjinni.com/>

HTML Hyphen Code

HTML Code &#8208;
CSS3 Code \2010
HTML Entity &hyphen;
Hex Code &#x2010;
UNICODE U+02010
URL %26%238208%3B

Usage Examples


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