HTML Entity for Neither A Subset Nor Equal To (⊈)

What You'll Learn
How to display the Neither A Subset Nor Equal To symbol (⊈) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2288 (NEITHER A SUBSET OF NOR EQUAL TO) in the Mathematical Operators block (U+2200–U+22FF)—used in set theory to state that one set is not contained in another and is not equal to it.
Render it with ⊈, ⊈, or CSS escape \2288. There is no named HTML entity for U+2288. Related relations include subset (⊂, ⊂) and subset or equal (⊆, ⊆).
⚡ Quick Reference — Neither A Subset Nor Equal To
U+2288Mathematical Operators
⊈Hexadecimal reference
⊈Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+2288
Hex code ⊈
HTML code ⊈
Named entity (none)
CSS code \2288
Meaning Neither a subset of nor equal to
Related U+2282 = subset (⊂, ⊂)
U+2286 = subset or equal (⊆, ⊆)
U+2284 = not a subset of (⊄, ⊄)Complete HTML Example
This example demonstrates ⊈ using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\2288";
}
</style>
</head>
<body>
<p>⊈ using Hexadecimal: ⊈</p>
<p>⊈ using HTML Code: ⊈</p>
<p id="point">⊈ using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+2288 is widely supported wherever Unicode Mathematical Operators render correctly:
👀 Live Preview
See ⊈ in set theory and mathematical relation contexts:
🧠 How It Works
Hexadecimal Code
⊈ uses the Unicode hexadecimal value 2288 to display the symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
⊈ uses the decimal Unicode value 8840 to display the same character.
CSS Entity
\2288 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All three methods produce: ⊈. Unicode U+2288 in Mathematical Operators. No named HTML entity—use numeric codes in markup.
Use Cases
The ⊈ symbol is commonly used in:
Expressing that one set is not contained in and not equal to another.
Discrete math textbooks, papers, and lecture notes published as HTML.
Formal proofs and definitions involving subset relations.
Data structures and algorithms courses covering set operations.
Interactive math modules with web-based notation.
Unicode charts and HTML entity documentation for math symbols.
💡 Best Practices
Do
- Use
⊈or⊈consistently per project - Pair ⊈ with plain-language description on first use
- Use fonts that cover Mathematical Operators (Cambria Math, etc.)
- Add
aria-labelfor standalone relation symbols - Serve pages with UTF-8 (
<meta charset="utf-8">)
Don’t
- Confuse ⊈ with ⊄ (not a subset of) or ⊆ (subset or equal)
- Expect a named entity—none exists for U+2288
- Put CSS escape
\2288in HTML text nodes - Use padded Unicode notation like U+02288—the correct value is
U+2288 - Rely on the glyph alone without accessible description
Key Takeaways
Two HTML numeric references render ⊈
⊈ ⊈For CSS stylesheets, use the escape in the content property
\2288Unicode U+2288 — NEITHER A SUBSET OF NOR EQUAL TO
Mathematical Operators block (U+2200–U+22FF)
No named entity—use numeric codes or UTF-8 literal in source files
❓ Frequently Asked Questions
⊈ (hex), ⊈ (decimal), or \2288 in CSS content. All produce ⊈. There is no named entity.U+2288 (NEITHER A SUBSET OF NOR EQUAL TO). Mathematical Operators block (U+2200–U+22FF). Hex 2288, decimal 8840.⊈ or ⊈) go directly in markup. The CSS escape \2288 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.⊈ or ⊈, or type ⊈ directly in UTF-8-encoded source files.Explore More HTML Entities!
Discover 1500+ HTML character references — set relations, math operators, logic symbols, and more.
8 people found this page helpful
