Double Vertical Line

‖

Shortcodes

Copy useful codes for double vertical line symbol ‖ to use in websites, apps, blogs, and docs.

Unicode
U+2016
HTML Code
‖
HEX Code
‖
CSS Code
\2016
JS/JSON
\u2016
Unix/C/PHP/JAVA
0x2016
URL-encode
%E2%80%96

Customize Double Vertical Line

Customize ‖, download it as SVG or PNG, or copy the generated HTML snippet.

‖
  

How to use Double Vertical Line Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>‖</span>
HTML Code:
<span>&#8214;</span>
HEX Code:
<span>&#x2016;</span>

Add with CSS

.double-vertical-line::before {
  content: '\\2016';
}

Set it in JavaScript

document.querySelector('.double-vertical-line').textContent = '‖';
copied