Right Half Block

Shortcodes

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

Unicode
U+2590
Alt Code
222
HTML Code
▐
HEX Code
▐
CSS Code
\2590
JS/JSON
\u2590
Unix/C/PHP/JAVA
0x2590
URL-encode
%E2%96%90
copied

Customize Right Half Block Symbol

Customize ▐ symbol as you like and download Right 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 Right Half Block symbol ▐ ?

Using Right Half Block Alt Code:

You can type the Right Half Block symbol ▐ using your keyboard by using the Alt Code for Right 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 222 using the Numpad.
  3. Release the Alt key.

This will make the ▐ appear on your screen.

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

Insert ▐ Right Half Block using HTML

1. Copy-paste Right Half Block directly:
<span>▐</span>
2. HTML Decimal Code:
<span>&#9616;</span>
3. Hexadecimal Code:
<span>&#x2590;</span>
Preview:

Add Right Half Block symbol with CSS

.right-half-block::before {
    content: '\\2590';
}
Preview: Right Half Block

Right Half Block JavaScript Code

1. Direct Symbol:
document.querySelector('.right-half-block').textContent = '▐';
2. Unicode Escape for ▐:
document.querySelector('.right-half-block').textContent = '\u2590';
Preview: