White Small Square

Shortcodes

Copy and paste codes for White Small Square symbol ▫ to use in your websites, apps, blogs, and more.

Unicode
U+25AB
HTML Code
▫
HEX Code
▫
CSS Code
\25AB
JS/JSON
\u25AB
Unix/C/PHP/JAVA
0x25AB
URL-encode
%E2%96%AB
copied

Customize White Small Square Symbol

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

Insert ▫ White Small Square using HTML

1. Copy-paste White Small Square directly:
<span>▫</span>
2. HTML Decimal Code:
<span>&#9643;</span>
3. Hexadecimal Code:
<span>&#x25AB;</span>
Preview:

Add White Small Square symbol with CSS

.white-small-square::before {
    content: '\\25AB';
}
Preview: White Small Square

White Small Square JavaScript Code

1. Direct Symbol:
document.querySelector('.white-small-square').textContent = '▫';
2. Unicode Escape for ▫:
document.querySelector('.white-small-square').textContent = '\u25AB';
Preview: