black cat


black cat

codepoints: 1F408 200D 2B1B


Copy and Paste

Copy and paste black cat emoji


NameEmojiCode Point
1black cat๐Ÿˆโ€โฌ›U+1F408 U+200D U+2B1B

Usage of emoji in HTML

You can paste the chosen Emoji

<p> ๐Ÿˆโ€โฌ› </p>

Another option is to use the codepoint of the Emoji and replacing (U+) with (&#x).

<p> &#x1F408&#x200D&#x2B1B </p>

Usage of emoji in CSS

You need to use the ::before or ::after pseudo-element coupled with the content property where you paste the Emoji as the value.

.element::before{
content: "๐Ÿˆโ€โฌ›"
}

Another option is to use codepoint replacing (U+) with (\0).

.element::before{
content: "\01F408\0200D\02B1B"
}

Usage of emoji in JavaScript

Paste the Emoji in the innerHTML value

document.querySelector(".element ").innerHTML = "๐Ÿˆโ€โฌ›";

Or use the String method fromCodePoint mixed with the codepoint value where you replace (U+) with (0x).

document.querySelector(".element ").innerHTML = String.fromCodePoint(0x1F408 ,0x200D ,0x2B1B);




See Also


Contact

Would you like to make a suggestion, feel free to contact us at contact@unitpedia.com