HTML Mars Code |
||
HTML Code | ♂ | ♂ |
CSS3 Code | \2642 | |
HTML Entity | ♂ | |
Hex Code | ♂ | |
UNICODE | U+02642 | |
URL | %26%239794%3B | |
Category | HTML Planetary Symbols Code | |
Usage ExamplesTo use Mars in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
span {
content: "\2642";
}
</style>
To use Mars in in-line HTML code you can use it "as it is" but, it is recommend
that Mars should be used like the following example code. Because it help in assigning special CSS to it.
<!-- html usage -->
<i>♂</i>
In order to send Mars via a HTML form or via a query string it should be properly encoded.
Following is the URL encoded format of Mars. Do not forget to Decode it on the server side.
https: //www.tutorialjinni.com/html-symbols-entity-codes.html? html-mars-code=%26%239794%3B
|