Upper Half Block

Shortcodes

Copy and paste codes for Upper Half Block symbol ▀ to use in your websites, apps, blogs, and more.

Unicode
U+2580
Alt Code
223
HTML Code
▀
HEX Code
▀
CSS Code
\2580
JS/JSON
\u2580
Unix/C/PHP/JAVA
0x2580
URL-encode
%E2%96%80
copied

Customize Upper Half Block Symbol

Customize ▀ symbol as you like and download Upper Half Block as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
 

How to type Upper Half Block symbol ▀ ?

Using Upper Half Block Alt Code:

You can type the Upper Half Block symbol ▀ using your keyboard by using the Alt Code for Upper Half Block. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 223 using the Numpad.
  3. Release the Alt key.

This will make the ▀ appear on your screen.

How to add Upper Half Block symbol in HTML, CSS, and JS?

Insert ▀ Upper Half Block using HTML

1. Copy-paste Upper Half Block directly:
<span>▀</span>
2. HTML Decimal Code:
<span>&#9600;</span>
3. Hexadecimal Code:
<span>&#x2580;</span>
Preview:

Add Upper Half Block symbol with CSS

.upper-half-block::before {
    content: '\\2580';
}
Preview: Upper Half Block

Upper Half Block JavaScript Code

1. Direct Symbol:
document.querySelector('.upper-half-block').textContent = '▀';
2. Unicode Escape for ▀:
document.querySelector('.upper-half-block').textContent = '\u2580';
Preview: