Search

Search for a symbol or emoji...

Black Rectangle Symbol

Black Rectangle Symbol Information

Symbol Name
Black Rectangle
Unicode Version
1.1 (June 1993)
Unicode
U+25AC
CSS Code
\25AC
Hex Code
▬
HTML Code
▬
Symbol

Black Rectangle Symbol Encoding

UTF-8
0xE2 0x96 0xAC
UTF-16
0x25AC
UTF-32
0x000025AC

How to add black rectangle symbol via keyboard on different Operating systems

You can type the black rectangle symbol on most modern devices with the help of following methods:

How to type black rectangle symbol on Microsoft Word

You can type the black rectangle in Microsoft Word using steps mentioned below:

  • Place your cursor in the text area where you need to insert the symbol and type 25AC
  • Without moving the cursor press keys Alt + x together
  • The original 25AC is now transformed into

How to type black rectangle symbol on Microsoft Windows

You can type the black rectangle on Microsoft windows using following steps:

  • Hold Alt and press to type black rectangle on your windows machine.

How to type black rectangle symbol on Mac OS

You can type the black rectangle on Mac OS using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
  • Type "Black Rectangle" in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
Mac OS Character Viewer
Mac OS Character Viewer

How to type black rectangle symbol on Linux

You can type the black rectangle on Linux using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Hold ⇧ Shift + Ctrl and press the letter + U
  • Press keys 25AC consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type black rectangle symbol on IOS and Android

The easiest way to type the black rectangle symbol on ios and android is to copy and paste it wherever you need it.

How to use black rectangle in CSS

//CSS Example
1span { 2 content: \25AC; 3 }

How to use black rectangle in HTML

//HTML Example
1<span>&#9644;</span>

Black Rectangle symbol representation in programming languages

Black Rectanglesymbol's representation in different programming languages can be found in table below:

LanguageRepresentation
Rust
\u{25AC}
Ruby
\u{25AC}
Python
\u25AC
PHP
\u{25AC}
Perl
\x{25AC}
Java
\u25AC
Modern JavaScript - Since ES6
\u{25AC}
JavaScript
\u25AC
Go
\u25AC
C#
\u25AC
C and C++
\u25AC
Bash and Zsh - inside echo -e
\u25AC
RFC 5137
\u'25AC'