■
Technical information
Symbol | ■ | |
Name | Black square | |
Unicode number | U+25A0 | |
Category | Squares |
Description | The Unicode character ■, or U+25A0, is known as "Black Square". It is part of the "Geometric Shapes" block, a collection of characters that represent common geometric figures. This character is classified in the "Symbol, Other" category. Visually, the character is a solid, filled-in square. The term "black" in the name refers to the filled-in nature of the square, not its color, which can vary depending on the text color in use. The black square symbol is versatile and used in a wide range of contexts. It can denote a bullet point in a list, represent a data point in a graphical representation, indicate a checkbox in user interfaces, or even be a part of artistic or decorative text. Its specific meaning can vary greatly based on the context in which it is used. |
Encoding
HTML Entity | ■ | |
HTML Entity (hex) | ■ | |
URL Escape Code | %E2%96%A0 | |
UTF-8 (hex) | 0xE2 0x96 0xA0 | |
UTF-8 (binary) | 11100010:10010110:10100000 | |
UTF-16 | 0x25A0 | |
UTF-32 | 0x000025A0 |
Source Code
C, C++, and Java | "\u25A0" | |
CSS Code | \25A0 | |
JavaScript | "\u25A0" | |
Perl | \x{25A0} | |
Python 2 | u"\u25A0" | |
Python 3 | \u25A0 | |
Ruby | \u{25A0} |
Preview
This Unicode character looks like this ■ in sentence and in bold like this ■ and in italic like this ■.
input-group
Font size:
■
12px
■
16px
■
20px
■
28px
■
36px
■
48px
■
72px
CSS Property: font-weight
■
100
■
200
■
300
■
400
■
500
■
600
■
700
■
800
■
900
HTML Forms and Input
input
disabled input
■
select
button
button
Code examples in HTML and CSS
<span>■</span>
span {
content: "\25A0";
}
The symbol in different fonts
■
-apple-system
■
Apple Color Emoji
■
Arial
■
BlinkMacSystemFont
■
Courier New
■
Georgia
■
Droid Sans
■
Helvetica
■
Noto Sans
■
Oxygen
■
Roboto
■
"Segoe UI"
■
sans-serif
■
Segoe UI Emoji
■
Segoe UI Symbol
■
system-ui
■
Times New Roman
■
Ubuntu
■
Verdana