Afghanistan Flag

๐Ÿ‡ฆ๐Ÿ‡ซ

Shortcodes

Copy and paste codes for Afghanistan Flag symbol ๐Ÿ‡ฆ๐Ÿ‡ซ to use in your websites, apps, blogs, and more.

Unicode
U+1F1E6 U+1F1EB
HTML Code
🇦🇫
HEX Code
🇦🇫
CSS Code
\1F1E6 1F1EB
JS/JSON
\u1F1E6 u1F1EB
Unix/C/PHP/JAVA
0x1F1E6 0x1F1EB
URL-encode
%F0%9F%87%A6%F0%9F%87%AB
copied

Customize Afghanistan Flag Symbol

Customize ๐Ÿ‡ฆ๐Ÿ‡ซ symbol as you like and download Afghanistan Flag as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
๐Ÿ‡ฆ๐Ÿ‡ซ

                        
                    

How to add Afghanistan Flag symbol in HTML, CSS, and JS?

Insert ๐Ÿ‡ฆ๐Ÿ‡ซ Afghanistan Flag using HTML

1. Copy-paste Afghanistan Flag directly:
<span>๐Ÿ‡ฆ๐Ÿ‡ซ</span>
2. HTML Decimal Code:
<span>&#127462;&#127467;</span>
3. Hexadecimal Code:
<span>&#x1F1E6;&#x1F1EB;</span>
Preview: ๐Ÿ‡ฆ๐Ÿ‡ซ

Add Afghanistan Flag symbol with CSS

.afghanistan-flag::before {
    content: '\\1F1E6 1F1EB';
}
Preview: Afghanistan Flag

Afghanistan Flag JavaScript Code

1. Direct Symbol:
document.querySelector('.afghanistan-flag').textContent = '๐Ÿ‡ฆ๐Ÿ‡ซ';
2. Unicode Escape for ๐Ÿ‡ฆ๐Ÿ‡ซ:
document.querySelector('.afghanistan-flag').textContent = '\u1F1E6 u1F1EB';
Preview: ๐Ÿ‡ฆ๐Ÿ‡ซ