HTML Entity Detail

HTML Entity - Black Rectangle

Black Rectangle 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+25AC

HTML entity

CSS code

\25AC

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.

Black Rectangle

Select any code to highlight it before copying.

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