White Flag

Shortcodes

Copy and paste codes for White Flag symbol ⚐ to use in your websites, apps, blogs, and more.

Unicode
U+2690
HTML Code
⚐
HEX Code
⚐
CSS Code
\2690
JS/JSON
\u2690
Unix/C/PHP/JAVA
0x2690
URL-encode
%E2%9A%90
copied

Customize White Flag Symbol

Customize ⚐ symbol as you like and download White 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 White Flag symbol in HTML, CSS, and JS?

Insert ⚐ White Flag using HTML

1. Copy-paste White Flag directly:
<span>⚐</span>
2. HTML Decimal Code:
<span>&#9872;</span>
3. Hexadecimal Code:
<span>&#x2690;</span>
Preview:

Add White Flag symbol with CSS

.white-flag::before {
    content: '\\2690';
}
Preview: White Flag

White Flag JavaScript Code

1. Direct Symbol:
document.querySelector('.white-flag').textContent = '⚐';
2. Unicode Escape for ⚐:
document.querySelector('.white-flag').textContent = '\u2690';
Preview: