Set Minus (∖) is the Mathematical Operators character at Unicode U+2216 (SET MINUS). HTML5 names it ∖. It denotes set difference (elements in A that are not in B).
Remember
Character ∖
Unicode U+2216
Named entity ∖
Hex entity ∖
Decimal ∖
CSS escape \2216
Not the same − (−) · \ (ASCII backslash)
Named, hex, decimal, CSS, and a typed character all produce the same glyph: ∖. Prefer ∖ in math markup. For arithmetic subtraction use −; do not substitute ASCII backslash when you need U+2216.
Built with Named: ∖
Built with Hex: ∖
Built with Decimal: ∖
Built with CSS: ∖
Typed: ∖
Set difference: A ∖ B
How It Works
1. Named:∖ is the preferred HTML5 name for U+2216 → ∖.
2. Hex:∖ inserts the same code point. Same visual as named.
3. Decimal: same code point as 8726 → ∖.
4. CSS: use \2216 in content (not an HTML entity). #point::after appends ∖.
5. Typed: paste ∖ in a UTF-8 document, or write A ∖ B.
Pitfalls & Tips
Common mistakes when working with Set Minus.
Named
Prefer ∖
∖ is the clear HTML5 named form (alias ∖). It is case-sensitive.
Look-alikes
∖ ≠ − ≠ \
U+2216 is set minus. − is arithmetic. ASCII \ is a different code point — not a substitute for math set difference.
Meaning
Set difference only
Use ∖ for A ∖ B. Use − when you mean 5 − 2.
Fonts
Glyph coverage
Most math-capable fonts include U+2216. Still test body fonts — some omit Mathematical Operators.
CSS vs HTML
Do not mix escapes
\2216 belongs in CSS. ∖ / ∖ / ∖ belong in HTML.
Semicolon
End references
Always finish with ; — write ∖, not &setminus.
Compatibility
Browser Support
Set Minus (U+2216) and its entity forms (∖, ∖, ∖, CSS \\2216) are supported in all modern browsers. Glyph coverage depends on the font.
✓ Universal encoding
Set Minus (∖)
Encode with named, hex, decimal, or CSS escape — or type ∖ directly in UTF-8 HTML.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerIE 9+
Yes*
U+2216 / ∖Full support
Bottom line: Prefer ∖ in HTML. Use ∖ / ∖ when numeric form is required, and \\2216 only inside CSS content.
Remember
Key Takeaways
Unicode: this symbol is U+2216 (decimal 8726) — set difference.
HTML: prefer ∖ (or ∖ / ∖).
CSS: use \2216 inside content for generated text.
Watch out: not the same as − (−) or ASCII backslash.
One line:U+2216 → ∖ / ∖ / CSS \2216.
Frequently Asked Questions
Use ∖ (named), ∖ (hex), ∖ (decimal), or the CSS escape \2216 in the content property. All render ∖. Prefer ∖ for readable math markup.
U+2216 (SET MINUS). Hex 2216, decimal 8726, named entity ∖. It belongs to Mathematical Operators (U+2200–U+22FF).
Yes. HTML5 defines ∖ for U+2216 (also ∖). It is case-sensitive — write ∖, not ∖.
Use it for set difference in set theory and math notes (A ∖ B). Prefer − for arithmetic subtraction and a typed backslash only when ASCII is intentional.
HTML entities (∖, ∖, or ∖) go in markup. The CSS escape \2216 is used in stylesheets (usually in the content property of ::before/::after). Both render ∖.
U+2216 is SET MINUS (set difference). U+2212 is MINUS SIGN (−) for arithmetic. Same family of shapes, different meanings.
🤔
Did you know?
Set Minus is Unicode U+2216 (decimal 8726) — SET MINUS for set difference (e.g. A ∖ B). HTML5 names it ∖ (case-sensitive; alias ∖). Do not confuse it with arithmetic minus (−, U+2212) or ASCII backslash.