HTML Entity Detail

HTML Entity - White Square

White Square is a geometric shapes used in UI design, diagrams, and visual layouts. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.

Symbol preview
Unicode

U+25A1

HTML entity

□

CSS code

\25A1

Usage Examples

Use this HTML entity in user interfaces, bullet lists, diagrams, and visual design elements like ■ for filled squares and ● for bullets.

Common Mistakes

⚠️

Mistake: Using letters or numbers instead of proper geometric shapes for UI elements

Fix: Use the correct Unicode geometric shape (■ square, ● circle, ◆ diamond) rather than approximating with letters like O, 0, or □.

⚠️

Mistake: Confusing similar geometric shapes that look alike at small sizes

Fix: At small sizes, ■ (black square) and ● (black circle) may look similar. Test at actual rendering size and ensure the shape conveys the intended meaning in context.

White Square

Select any code to highlight it before copying.

Category: Geometric Shapes
Unicode U+25A1
Hex Code □
HTML Code □
HTML Entity □
CSS Code \25A1
Windows Shortcut
Mac Shortcut
HTML code example
CSS code example
Last updated: 21 Jun 2026