Black Rectangle
▬
Shortcodes
Copy and paste codes for Black Rectangle symbol ▬ to use in your websites, apps, blogs, and more.
Unicode
U+25AC
Alt Code
22
HTML Code
▬
HEX Code
▬
CSS Code
\25AC
JS/JSON
\u25AC
Unix/C/PHP/JAVA
0x25AC
URL-encode
%E2%97%AC
copied
Customize Black Rectangle Symbol
Customize ▬ symbol as you like and download Black Rectangle 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 type Black Rectangle symbol ▬ ?
Using Black Rectangle Alt Code:
You can type the Black Rectangle symbol ▬ using your keyboard by using the Alt Code for Black Rectangle. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:
- Hold down the Alt key on your keyboard.
- Type the number 22 using the Numpad.
- Release the Alt key.
This will make the ▬ appear on your screen.
How to add Black Rectangle symbol in HTML, CSS, and JS?
Insert ▬ Black Rectangle using HTML
1. Copy-paste Black Rectangle directly:
<span>▬</span>
2. HTML Decimal Code:
<span>▬</span>
3. Hexadecimal Code:
<span>▬</span>
Preview:
▬
Add Black Rectangle symbol with CSS
.black-rectangle::before {
content: '\\25AC';
}
Preview: Black Rectangle
Black Rectangle JavaScript Code
1. Direct Symbol:
document.querySelector('.black-rectangle').textContent = '▬';
2. Unicode Escape for ▬:
document.querySelector('.black-rectangle').textContent = '\u25AC';
Preview: ▬
Related Square & Rectangle Symbols
View all Square & Rectangle Symbols▇
Lower Seven Eighths Block
▉
Left Seven Eighths Block
▊
Left Three Quarters Block
▋
Left Five Eighths Block
█
Full Block
▀
Upper Half Block
▌
Left Half Block
▐
Right Half Block
▍
Left Three Eighths Block
▎
Left One Quarter Block
▏
Left One Eighth Block
▕
Right One Eighth Block
░
Light Shade
▒
Medium Shade
▓
Dark Shade
▔
Upper One Eighth Block
▢
White Square With Rounded Corners
▣
White Square Containing Black Small Square
▤
Square With Horizontal Fill
▥
Square With Vertical Fill
▦
Square With Orthogonal Crosshatch Fill
▧
Square With Upper Left To Lower Right Fill
▨
Square With Upper Right To Lower Left Fill
▩
Square With Diagonal Crosshatch Fill
▪
Black Small Square
▫
White Small Square
▭
White Rectangle
▮
Black Vertical Rectangle
▯
White Vertical Rectangle
◧
Square With Left Half Black
◨
Square With Right Half Black
◩
Square With Upper Left Diagonal Half Black