<tutorialjinni.com/>

HTML Cent Sign Code

HTML Code &#162; ¢
CSS3 Code \00A2
HTML Entity &cent;
Hex Code &#xa2;
UNICODE U+000A2
URL %26%23162%3B

Usage Examples


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