<tutorialjinni.com/>

HTML Minus Sign Code

HTML Code &#8722;
CSS3 Code \2212
HTML Entity &minus;
Hex Code &#x2212;
UNICODE U+02212
URL %26%238722%3B

Usage Examples


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