Sri Lanka Flag

๐Ÿ‡ฑ๐Ÿ‡ฐ

Shortcodes

Copy and paste codes for Sri Lanka Flag symbol ๐Ÿ‡ฑ๐Ÿ‡ฐ to use in your websites, apps, blogs, and more.

Unicode
U+1F1F1 U+1F1F0
HTML Code
🇱🇰
HEX Code
🇱🇰
CSS Code
\1F1F1 1F1F0
JS/JSON
\u1F1F1 u1F1F0
Unix/C/PHP/JAVA
0x1F1F1 0x1F1F0
URL-encode
%F0%9F%87%B1%F0%9F%87%B0
copied

Customize Sri Lanka Flag Symbol

Customize ๐Ÿ‡ฑ๐Ÿ‡ฐ symbol as you like and download Sri Lanka 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 Sri Lanka Flag symbol in HTML, CSS, and JS?

Insert ๐Ÿ‡ฑ๐Ÿ‡ฐ Sri Lanka Flag using HTML

1. Copy-paste Sri Lanka Flag directly:
<span>๐Ÿ‡ฑ๐Ÿ‡ฐ</span>
2. HTML Decimal Code:
<span>&#127473;&#127472;</span>
3. Hexadecimal Code:
<span>&#x1F1F1;&#x1F1F0;</span>
Preview: ๐Ÿ‡ฑ๐Ÿ‡ฐ

Add Sri Lanka Flag symbol with CSS

.sri-lanka-flag::before {
    content: '\\1F1F1 1F1F0';
}
Preview: Sri Lanka Flag

Sri Lanka Flag JavaScript Code

1. Direct Symbol:
document.querySelector('.sri-lanka-flag').textContent = '๐Ÿ‡ฑ๐Ÿ‡ฐ';
2. Unicode Escape for ๐Ÿ‡ฑ๐Ÿ‡ฐ:
document.querySelector('.sri-lanka-flag').textContent = '\u1F1F1 u1F1F0';
Preview: ๐Ÿ‡ฑ๐Ÿ‡ฐ