White Square Containing Black Small Square

Shortcodes

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

Unicode
U+25A3
HTML Code
▣
HEX Code
▣
CSS Code
\25A3
JS/JSON
\u25A3
Unix/C/PHP/JAVA
0x25A3
URL-encode
%E2%97%A3

Customize White Square Containing Black Small Square

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

  

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

Insert in HTML

1. Direct symbol:
<span>▣</span>
HTML Code:
<span>&#9635;</span>
HEX Code:
<span>&#x25A3;</span>

Add with CSS

.white-square-containing-black-small-square::before {
  content: '\\25A3';
}

Set it in JavaScript

document.querySelector('.white-square-containing-black-small-square').textContent = '▣';
copied