Set Minus

Shortcodes

Copy useful codes for set minus symbol ∖ to use in websites, apps, blogs, and docs.

Unicode
U+2216
HTML Code
∖
HEX Code
∖
CSS Code
\2216
JS/JSON
\u2216
Unix/C/PHP/JAVA
0x2216
URL-encode
%E2%88%96

Customize Set Minus

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

  

How to use Set Minus Symbol in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span>∖</span>
HTML Code:
<span>&#8726;</span>
HEX Code:
<span>&#x2216;</span>

Add with CSS

.set-minus::before {
  content: '\\2216';
}

Set it in JavaScript

document.querySelector('.set-minus').textContent = '∖';
copied