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

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2288

What Is the Neither A Subset Nor Equal To Entity?

Neither a subset nor equal to (⊈) is the Mathematical Operators character at Unicode U+2288 (NEITHER A SUBSET OF NOR EQUAL TO). In set theory it means A is not a subset of B and not equal to B — the negation of ⊆ (⊆). HTML5 provides the named entities ⊈ and ⊈.

Remember
Character     ⊈
Unicode       U+2288
Named entity  ⊈  (also ⊈)
Hex entity    ⊈
Decimal       ⊈
CSS escape    \2288

All of these produce the same glyph: ⊈. Prefer ⊈ for readable HTML; paste ⊈ in UTF-8 when convenient.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⊈HTML markup (also ⊈)
Hex entity⊈HTML markup
Decimal entity⊈HTML markup
Direct character⊈HTML text (UTF-8 default)
CSS escape\2288Stylesheet content

When to Use Which

SituationUse
Readable math / set theory in HTML⊈ or ⊈
UTF-8 math textType or paste ⊈
Numeric entity required⊈ or ⊈
Generated text via ::before / ::aftercontent: "\2288"
Positive relation (subset or equal)⊆ / ⊆ (⊆)

Live Preview

Neither a subset nor equal to rendered in common contexts.

Glyph ⊈
Large glyph ⊈
In a relation {1, 3} ⊈ {1, 2}
With entities Named: ⊈ | Hex: ⊈ | Decimal: ⊈
Related symbols ⊆ (⊆) · ⊂ (⊂) · ⊄ (⊄)

Complete HTML Example

One page that shows neither a subset nor equal to with named, hex, decimal, direct, and CSS forms. Use View Output or open the live editor.

Named + Hex + Decimal + Direct + CSS

Five ways to produce ⊈ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Neither A Subset Nor Equal To (⊈) in HTML</title>
  <style>
    #point::after {
      content: "\2288";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &nsube;</p>
  <p>Using Hex Code: &#x2288;</p>
  <p>Using HTML Code: &#8840;</p>
  <p>Using Direct Character: ⊈</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: {1, 3} &nsube; {1, 2}</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &nsube; (or &nsubseteq;) is the clearest HTML form for U+2288.

2. Hex: U+2288 → &#x2288; in HTML. Reliable numeric form.

3. Decimal: same code point as 8840 → &#8840;. Same glyph.

4. Direct: paste ⊈ in a UTF-8 file with <meta charset="UTF-8">.

5. CSS: use \2288 in content (not an HTML entity). #point::after appends that ⊈ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with this set-theory entity.

Meaning

Negates ⊆, not ⊂

⊈ is “notsubseteq”. For “not a subset of” alone, use &nsub; (⊄).

Aliases

&nsube; = &nsubseteq;

Both named forms map to U+2288. Pick one and stay consistent.

CSS vs HTML

Do not mix escapes

\2288 belongs in CSS. &nsube; / &#x2288; / &#8840; belong in HTML.

Look-alikes

Not ⊆, ⊄, or ⊊

⊆ is subseteq; ⊄ is notsubset; ⊊ is subset with not equal. Different symbols.

Semicolon

End references

Always finish with ; — write &nsube;, not &nsube.

UTF-8

Declare charset

If you paste ⊈ directly, serve the page as UTF-8 with <meta charset="UTF-8">.

Browser Support

Neither a subset nor equal to (U+2288) and its entity forms (&nsube;, &#x2288;, &#8840;, CSS \\2288) are supported in all mainstream browsers. Glyph availability depends on the font.

✓ Universal support

Neither A Subset Nor Equal To (&#x2288;)

Prefer &nsube;, or encode with hex, decimal, or CSS escape — same glyph everywhere.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2288 / entities Full support

Bottom line: Prefer &nsube; (or &nsubseteq;) in HTML. Use &#x2288; / &#8840; when a numeric form is required, and \\2288 only inside CSS content.

Key Takeaways

  • Unicode: neither subseteq is U+2288 (decimal 8840), Mathematical Operators.
  • HTML: prefer &nsube; (alias &nsubseteq;), or &#x2288; / &#8840;.
  • CSS: use \2288 inside content for generated text.
  • Meaning: set theory “notsubseteq” — not the same as ⊆, ⊄, or ⊊.

One line: U+2288 → &nsube; / &#x2288; / &#8840; / CSS \2288.

Frequently Asked Questions

Use &nsube; or &nsubseteq; (named), &#x2288; (hex), &#8840; (decimal), type ⊈ in UTF-8, or the CSS escape \2288 in content. All render ⊈.
U+2288 (NEITHER A SUBSET OF NOR EQUAL TO). Hex 2288, decimal 8840. It belongs to Mathematical Operators and means “notsubseteq” in set theory.
Yes. HTML5 defines &nsube; and &nsubseteq; (aliases for the same character). You can also use &#8840; or &#x2288;.
Use it in set theory or math when A is not a subset of B and not equal to B (A ⊈ B). Prefer &nsube; for readable source. For ordinary English text, write the relation in words.
HTML entities (&nsube;, &#8840;, or &#x2288;) go in markup. The CSS escape \2288 is used in stylesheets (usually in the content property of ::before/::after). Both render ⊈.
⊆ (U+2286, &sube;) means subset or equal. ⊂ (U+2282, &sub;) means subset of. ⊄ (U+2284, &nsub;) means not a subset of. ⊈ (U+2288) specifically negates ⊆. Do not substitute one for another.

Did you know?

Neither a subset nor equal to (⊈) is Unicode U+2288 (decimal 8840) — NEITHER A SUBSET OF NOR EQUAL TO in Mathematical Operators. HTML5 provides &nsube; and &nsubseteq; (same glyph). It negates &sube; / &subseteq; (⊆). Use it in set theory when A is neither a subset of nor equal to B.

Next: Neither Approximately Nor Actually Equal To

Learn the HTML entity for neither approximately nor actually equal to — the next symbol in this entity sequence.

Neither Approximately Nor Actually Equal To tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful