Bahrain Flag

๐Ÿ‡ง๐Ÿ‡ญ

Shortcodes

Copy and paste codes for Bahrain Flag symbol ๐Ÿ‡ง๐Ÿ‡ญ to use in your websites, apps, blogs, and more.

Unicode
U+1F1E7 U+1F1ED
HTML Code
🇧🇭
HEX Code
🇧🇭
CSS Code
\1F1E7 1F1ED
JS/JSON
\u1F1E7 u1F1ED
Unix/C/PHP/JAVA
0x1F1E7 0x1F1ED
URL-encode
%F0%9F%87%A7%F0%9F%87%AD
copied

Customize Bahrain Flag Symbol

Customize ๐Ÿ‡ง๐Ÿ‡ญ symbol as you like and download Bahrain 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 Bahrain Flag symbol in HTML, CSS, and JS?

Insert ๐Ÿ‡ง๐Ÿ‡ญ Bahrain Flag using HTML

1. Copy-paste Bahrain Flag directly:
<span>๐Ÿ‡ง๐Ÿ‡ญ</span>
2. HTML Decimal Code:
<span>&#127463;&#127469;</span>
3. Hexadecimal Code:
<span>&#x1F1E7;&#x1F1ED;</span>
Preview: ๐Ÿ‡ง๐Ÿ‡ญ

Add Bahrain Flag symbol with CSS

.bahrain-flag::before {
    content: '\\1F1E7 1F1ED';
}
Preview: Bahrain Flag

Bahrain Flag JavaScript Code

1. Direct Symbol:
document.querySelector('.bahrain-flag').textContent = '๐Ÿ‡ง๐Ÿ‡ญ';
2. Unicode Escape for ๐Ÿ‡ง๐Ÿ‡ญ:
document.querySelector('.bahrain-flag').textContent = '\u1F1E7 u1F1ED';
Preview: ๐Ÿ‡ง๐Ÿ‡ญ