Black Medium Square

Shortcodes

Copy and paste codes for Black Medium Square symbol ◼ to use in your websites, apps, blogs, and more.

Unicode
U+25FC
HTML Code
◼
HEX Code
◼
CSS Code
\25FC
JS/JSON
\u25FC
Unix/C/PHP/JAVA
0x25FC
URL-encode
%E2%97%BC
copied

Customize Black Medium Square Symbol

Customize ◼ symbol as you like and download Black Medium 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 Black Medium Square symbol in HTML, CSS, and JS?

Insert ◼ Black Medium Square using HTML

1. Copy-paste Black Medium Square directly:
<span>◼</span>
2. HTML Decimal Code:
<span>&#9724;</span>
3. Hexadecimal Code:
<span>&#x25FC;</span>
Preview:

Add Black Medium Square symbol with CSS

.black-medium-square::before {
    content: '\\25FC';
}
Preview: Black Medium Square

Black Medium Square JavaScript Code

1. Direct Symbol:
document.querySelector('.black-medium-square').textContent = '◼';
2. Unicode Escape for ◼:
document.querySelector('.black-medium-square').textContent = '\u25FC';
Preview: