Double Hyphen

⹀

Shortcodes

Copy useful codes for double hyphen symbol ⹀ to use in websites, apps, blogs, and docs.

Unicode
U+2E40
HTML Code
⹀
HEX Code
⹀
CSS Code
\2E40
JS/JSON
\u2E40
Unix/C/PHP/JAVA
0x2E40
URL-encode
%E2%B9%80

Customize Double Hyphen

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

⹀
  

How to use Double Hyphen Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>⹀</span>
HTML Code:
<span>&#11840;</span>
HEX Code:
<span>&#x2E40;</span>

Add with CSS

.double-hyphen::before {
  content: '\\2E40';
}

Set it in JavaScript

document.querySelector('.double-hyphen').textContent = '⹀';
copied