Medium Vertical Bar

Shortcodes

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

Unicode
U+2759
HTML Code
❙
HEX Code
❙
CSS Code
\2759
JS/JSON
\u2759
Unix/C/PHP/JAVA
0x2759
URL-encode
%E2%9D%99
copied

Customize Medium Vertical Bar Symbol

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

Insert ❙ Medium Vertical Bar using HTML

1. Copy-paste Medium Vertical Bar directly:
<span>❙</span>
2. HTML Decimal Code:
<span>&#10073;</span>
3. Hexadecimal Code:
<span>&#x2759;</span>
Preview:

Add Medium Vertical Bar symbol with CSS

.medium-vertical-bar::before {
    content: '\\2759';
}
Preview: Medium Vertical Bar

Medium Vertical Bar JavaScript Code

1. Direct Symbol:
document.querySelector('.medium-vertical-bar').textContent = '❙';
2. Unicode Escape for ❙:
document.querySelector('.medium-vertical-bar').textContent = '\u2759';
Preview: