White Small Square

Shortcodes

Copy useful codes for white small square symbol ▫ to use in websites, apps, blogs, and docs.

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

Customize White Small Square

Customize ▫, download it as SVG or PNG, or copy the generated HTML snippet.

  

How to use White Small Square Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>▫</span>
HTML Code:
<span>&#9643;</span>
HEX Code:
<span>&#x25AB;</span>

Add with CSS

.white-small-square::before {
  content: '\\25AB';
}

Set it in JavaScript

document.querySelector('.white-small-square').textContent = '▫';
copied