United States Flag

๐Ÿ‡บ๐Ÿ‡ธ

Shortcodes

Copy and paste codes for United States Flag symbol ๐Ÿ‡บ๐Ÿ‡ธ to use in your websites, apps, blogs, and more.

Unicode
U+1F1FA U+1F1F8
HTML Code
🇺🇸
HEX Code
🇺🇸
CSS Code
\1F1FA 1F1F8
JS/JSON
\u1F1FA u1F1F8
Unix/C/PHP/JAVA
0x1F1FA 0x1F1F8
URL-encode
%F0%9F%87%BA%F0%9F%87%B8
copied

Customize United States Flag Symbol

Customize ๐Ÿ‡บ๐Ÿ‡ธ symbol as you like and download United States 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 United States Flag symbol in HTML, CSS, and JS?

Insert ๐Ÿ‡บ๐Ÿ‡ธ United States Flag using HTML

1. Copy-paste United States Flag directly:
<span>๐Ÿ‡บ๐Ÿ‡ธ</span>
2. HTML Decimal Code:
<span>&#127482;&#127480;</span>
3. Hexadecimal Code:
<span>&#x1F1FA;&#x1F1F8;</span>
Preview: ๐Ÿ‡บ๐Ÿ‡ธ

Add United States Flag symbol with CSS

.united-states-flag::before {
    content: '\\1F1FA 1F1F8';
}
Preview: United States Flag

United States Flag JavaScript Code

1. Direct Symbol:
document.querySelector('.united-states-flag').textContent = '๐Ÿ‡บ๐Ÿ‡ธ';
2. Unicode Escape for ๐Ÿ‡บ๐Ÿ‡ธ:
document.querySelector('.united-states-flag').textContent = '\u1F1FA u1F1F8';
Preview: ๐Ÿ‡บ๐Ÿ‡ธ