HTML Entity for Subset With Not Equal To (⊊)

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

What Is Subset With Not Equal To?

Subset with not equal to (⊊) is the Mathematical Operators character at Unicode U+228A (SUBSET OF WITH NOT EQUAL TO). It denotes a proper subset: A ⊊ B means every element of A is in B, but A ≠ B. HTML5 provides the named entities ⊊ and ⊊.

Remember
Character     ⊊
Unicode       U+228A
Named entity  ⊊  (also ⊊)
Hex entity    ⊊
Decimal       ⊊
CSS escape    \228A

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\228AStylesheet content

When to Use Which

SituationUse
Proper subset (not equal)⊊ or ⊊
Subset or equal to⊆ / ⊆
Subset of⊂ / ⊂
Superset with not equal (reverse)⊋ / ⊋
UTF-8 math textType or paste ⊊
Generated text via ::before / ::aftercontent: "\228A"

Live Preview

Subset with not equal to rendered in common contexts.

Glyph ⊊
Large glyph ⊊
In a relation A ⊊ B
With entities Named: ⊊ | Hex: ⊊ | Decimal: ⊊
Related symbols ⊆ (⊆) · ⊂ (⊂) · ⊋ (⊋)

Complete HTML Example

One page that shows Subset With Not 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>Subset With Not Equal To (⊊) in HTML</title>
  <style>
    #point::after {
      content: "\228A";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &subne;</p>
  <p>Using Hex Code: &#x228A;</p>
  <p>Using HTML Code: &#8842;</p>
  <p>Using Direct Character: ⊊</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: A &subne; B</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &subne; (or &subsetneq;) is the clearest HTML form for U+228A.

2. Hex: U+228A → &#x228A; in HTML. Reliable numeric form.

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

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

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

Pitfalls & Tips

Common mistakes when working with Subset With Not Equal To.

⊆

Not subset or equal

&sube; (U+2286) allows equality. ⊊ explicitly excludes equality (proper subset).

⊂

Not plain subset

&sub; (U+2282) does not carry the “not equal” mark. Prefer &subne; when proper subset is required.

⊋

Not superset with not equal

&supne; (U+228B) is the reverse relation. A ⊊ B is not the same as A ⊋ B.

Aliases

&subne; = &subsetneq;

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

CSS vs HTML

Do not mix escapes

\228A belongs in CSS. &subne; / &#x228A; / &#8842; belong in HTML.

Semicolon

End references

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

Browser Support

Subset with not equal to (U+228A) and its entity forms (&subne;, &#x228A;, &#8842;, CSS \\228A) are supported in all mainstream browsers. Glyph availability depends on the font.

✓ Universal support

Subset With Not Equal To (&#x228A;)

Prefer &subne;, 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+228A / entities Full support

Bottom line: Prefer &subne; (or &subsetneq;) in HTML. Use &#x228A; / &#8842; when a numeric form is required, and \\228A only inside CSS content.

Key Takeaways

  • Unicode: this mark is U+228A (decimal 8842) — glyph ⊊.
  • HTML: prefer &subne; (alias &subsetneq;), or &#x228A; / &#8842;.
  • CSS: use \228A inside content for generated text.
  • Meaning: A ⊊ B = proper subset — not the same as ⊆, ⊂, or ⊋.

One line: U+228A → &subne; / &#x228A; / &#8842; / CSS \228A.

Frequently Asked Questions

Use &subne; (named), &#x228A; (hex), &#8842; (decimal), type ⊊ directly in UTF-8, or the CSS escape \228A in content. Alias: &subsetneq;.
U+228A (SUBSET OF WITH NOT EQUAL TO). Hex 228A, decimal 8842. It belongs to Mathematical Operators (U+2200–U+22FF).
Yes. HTML5 defines &subne; and &subsetneq; for this character. Both are equivalent to &#8842; and &#x228A;.
Use it for a proper subset: A ⊄ B style meaning A is contained in B but A ≠ B. Prefer &sube; when equality is allowed (U+2286) and &sub; for plain subset of (U+2282).
HTML entities (&subne;, &#8842;, or &#x228A;) go in markup. The CSS escape \228A goes in stylesheet strings (usually content on ::before/::after).
No. ⊊ is subset with not equal to (proper subset, U+228A). ⊆ is subset of or equal to (U+2286). ⊂ is subset of (U+2282).

Did you know?

Subset with not equal to (⊊) is Unicode U+228A (decimal 8842) — SUBSET OF WITH NOT EQUAL TO in Mathematical Operators. HTML5 provides &subne; (also &subsetneq;). It denotes a proper subset: A&nbsp;&subne;&nbsp;B means every element of A is in B, but A ≠ B. Subset or equal is U+2286 (&sube;); the reverse is U+228B (&supne;).

Next: Succeeds

Learn the HTML entity for succeeds (≻).

Continue 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