HTML White Diamond Suit Code |
||
HTML Code | ♢ | ♢ |
CSS3 Code | \2662 | |
HTML Entity | ||
Hex Code | ♢ | |
UNICODE | U+02662 | |
URL | %26%239826%3B | |
Category | Misc Symbols Codes | |
Usage ExamplesTo use White Diamond Suit in Cascading Style Sheets or CSS file use the following code.
// css3 example usage
<style>
span {
content: "\2662";
}
</style>
To use White Diamond Suit in in-line HTML code you can use it "as it is" but, it is recommend
that White Diamond Suit 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 White Diamond Suit via a HTML form or via a query string it should be properly encoded.
Following is the URL encoded format of White Diamond Suit. Do not forget to Decode it on the server side.
https: //www.tutorialjinni.com/html-symbols-entity-codes.html? html-white-diamond-suit-code=%26%239826%3B
|