White Square Containing Black Small Square

Shortcodes

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

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

Customize White Square Containing Black Small Square Symbol

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

Insert ▣ White Square Containing Black Small Square using HTML

1. Copy-paste White Square Containing Black Small Square directly:
<span>▣</span>
2. HTML Decimal Code:
<span>&#9635;</span>
3. Hexadecimal Code:
<span>&#x25A3;</span>
Preview:

Add White Square Containing Black Small Square symbol with CSS

.white-square-containing-black-small-square::before {
    content: '\\25A3';
}
Preview: White Square Containing Black Small Square

White Square Containing Black Small Square JavaScript Code

1. Direct Symbol:
document.querySelector('.white-square-containing-black-small-square').textContent = '▣';
2. Unicode Escape for ▣:
document.querySelector('.white-square-containing-black-small-square').textContent = '\u25A3';
Preview: