flag: Ascension Island


flag: Ascension Island

codepoints: 1F1E6 1F1E8


Copy and Paste

Copy and paste flag: Ascension Island emoji


NameEmojiCode Point
1flag: Ascension Island๐Ÿ‡ฆ๐Ÿ‡จU+1F1E6 U+1F1E8

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> &#x1F1E6&#x1F1E8 </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: "\01F1E6\01F1E8"
}

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(0x1F1E6 ,0x1F1E8);




See Also


Contact

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