White Vertical Bar

Shortcodes

Copy and paste codes for White Vertical Bar symbol ⫾ to use in your websites, apps, blogs, and more.

Unicode
U+2AFE
HTML Code
⫾
HEX Code
⫾
CSS Code
\2AFE
JS/JSON
\u2AFE
Unix/C/PHP/JAVA
0x2AFE
URL-encode
%E2%AB%BE
copied

Customize White Vertical Bar Symbol

Customize ⫾ symbol as you like and download White Vertical Bar 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 add White Vertical Bar symbol in HTML, CSS, and JS?

Insert ⫾ White Vertical Bar using HTML

1. Copy-paste White Vertical Bar directly:
<span>⫾</span>
2. HTML Decimal Code:
<span>&#11006;</span>
3. Hexadecimal Code:
<span>&#x2AFE;</span>
Preview:

Add White Vertical Bar symbol with CSS

.white-vertical-bar::before {
    content: '\\2AFE';
}
Preview: White Vertical Bar

White Vertical Bar JavaScript Code

1. Direct Symbol:
document.querySelector('.white-vertical-bar').textContent = '⫾';
2. Unicode Escape for ⫾:
document.querySelector('.white-vertical-bar').textContent = '\u2AFE';
Preview: