<tutorialjinni.com/>

HTML Asterisk Code

HTML Code &#42; *
CSS3 Code \002A
HTML Entity &ast;
Hex Code &#x2a;
UNICODE U+0002A
URL %26%2342%3B

Usage Examples


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