| Nom du symbole | Black Square |
| Version Unicode | 1.1 |
| Unicode | U+25A0 |
| Bloc Unicode | |
| Catégorie générale | Other Symbol (So) |
| Code CSS | \25A0 |
| Code hexadécimal | 0x25A0 |
| Code HTML | ■ |
| LaTeX | \blacksquare |
| Symbole | ■ |
| Encodage URL (pourcent UTF-8) | %E2%96%A0 |
| Nom oral / lecteur d’écran | Black Square |
| UTF-8 | E2 96 A0 |
| UTF-16 | 25A0 |
| UTF-32 | 000025A0 |
1\documentclass{article}2\usepackage{pifont}3\blacksquare 4\end{document}Vous pouvez saisir le symbole black square sur la plupart des appareils modernes avec les méthodes suivantes :
Alt + 9632 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "black square", or use Unicode Hex Input with 25A0.
Ctrl + Shift + U, type 25a0, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.black-square::before { content: "\25A0"; }1<span>■</span>La représentation du symbole Black Square dans différents langages de programmation se trouve dans le tableau ci-dessous :
| Langage | Représentation |
|---|---|
| JavaScript / TypeScript | '\u25A0' or String.fromCodePoint(9632) |
| Python | '\N{BLACK SQUARE}' or chr(9632) |
| Rust | '\u{25A0}' |
| C / C++ | UTF-8 source or wchar_t with U+25A0 |
| Go | string(rune(0x25A0)) |
| Ruby | "\u{25A0}" |