□
Technical information
Symbol | □ | |
Name | White square | |
Unicode number | U+25A1 | |
Category | Squares |
Description | The Unicode character "□", or U+25A1, is known as the "White Square". It is part of the "Geometric Shapes" block and falls under the "Symbol, Other" category in the Unicode standard. As the name suggests, this character visually represents a geometric figure of a square, but it is unfilled, meaning that the interior of the square is white or transparent, and only the outline of the square is visible. This symbol is used in a variety of contexts, including mathematics, graphical representations, and as a checkbox in user interfaces that is currently unchecked. |
Encoding
HTML Entity | □ | |
HTML Entity (hex) | □ | |
HTML Entity (named) | □ | |
URL Escape Code | %E2%96%A1 | |
UTF-8 (hex) | 0xE2 0x96 0xA1 | |
UTF-8 (binary) | 11100010:10010110:10100001 | |
UTF-16 | 0x25A1 | |
UTF-32 | 0x000025A1 |
Source Code
C, C++, and Java | "\u25A1" | |
CSS Code | \25A1 | |
JavaScript | "\u25A1" | |
Perl | \x{25A1} | |
Python 2 | u"\u25A1" | |
Python 3 | \u25A1 | |
Ruby | \u{25A1} |
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
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