HTML Entity for Subset With Not Equal To (⊊)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+228A

What You'll Learn

How to display the Subset With Not Equal To symbol (⊊) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+228A (SUBSET OF WITH NOT EQUAL TO) in the Mathematical Operators block (U+2200–U+22FF)—the standard notation for a proper subset (subset, but not equal).

Render it with ⊊, ⊊, or CSS escape \228A. There is no named HTML entity. For example, AB means every element of A is in B, but AB. Do not confuse ⊊ with ⊆ (subset or equal) or ⊂ (subset).

⚡ Quick Reference — Subset With Not Equal To

Unicode U+228A

Mathematical Operators

Hex Code ⊊

Hexadecimal reference

HTML Code ⊊

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+228A
Hex code       ⊊
HTML code      ⊊
Named entity   (none)
CSS code       \228A
Block          Mathematical Operators (U+2200–U+22FF)
Related        U+2286 = Subset or equal to (⊆)
               U+228B = Superset with not equal to (⊋)
1

Complete HTML Example

This example demonstrates the Subset With Not Equal To symbol (⊊) using hexadecimal code, decimal HTML code, and a CSS content escape (no named entity):

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\228A";
  }
 </style>
</head>
<body>
<p>Subset With Not Equal To using Hexadecimal: &#x228A;</p>
<p>Subset With Not Equal To using HTML Code: &#8842;</p>
<p id="point">Subset With Not Equal To using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Subset With Not Equal To entity is universally supported in all modern browsers:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the Subset With Not Equal To symbol (⊊) rendered in different contexts:

Proper subset ABA is a proper subset of B
Large glyph
vs related ⊂ subset   ⊆ subset or equal   ⊊ proper subset
Monospace &#x228A; &#8842; \228A
Not equal AB implies AB

🧠 How It Works

1

Hexadecimal Code

&#x228A; uses the Unicode hexadecimal value 228A to display the Subset With Not Equal To symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8842; uses the decimal Unicode value 8842 to display the same character. This is one of the most commonly used methods.

HTML markup
3

CSS Entity

\228A is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: . Unicode U+228A in the Mathematical Operators block (U+2200–U+22FF). No named entity.

Use Cases

The Subset With Not Equal To symbol (⊊) commonly appears in:

📐 Math Expressions

Equations like AB for proper subsets.

🗃 Set Theory

Textbooks and papers on strict inclusion between sets.

📚 Academic Content

Research papers, proofs, and scholarly articles.

📄 Scientific Docs

Technical documentation and math web applications.

🎓 Education

Online courses and tutorials on set theory.

💻 Math Software

Calculator interfaces and computational tool UIs.

📝 Research Papers

Conference proceedings and mathematical journals.

💡 Best Practices

Do

  • Use &#x228A; or &#8842; for proper-subset notation
  • Pick one style (hex or decimal) per project for consistency
  • Use ⊊ when sets must be unequal (strict inclusion)
  • Add aria-label for standalone symbols in math content
  • Test the glyph across browsers and fonts

Don’t

  • Confuse ⊊ (proper subset) with ⊆ (subset or equal)
  • Put CSS escape \228A directly in HTML text nodes
  • Expect a named HTML entity for U+228A—use numeric references
  • Use HTML entities in JS (use \u228A instead)
  • Assume all fonts render ⊊ clearly at small sizes

Key Takeaways

1

Two HTML references both render ⊊

&#x228A; &#8842;
2

For CSS stylesheets, use the escape in the content property

\228A
3

Unicode U+228A — SUBSET OF WITH NOT EQUAL TO

4

No named entity—use numeric references or CSS escape

5

Denotes a proper subset: AB means AB and AB

❓ Frequently Asked Questions

Use &#x228A; (hex), &#8842; (decimal), or \228A in CSS content. There is no named HTML entity. All three produce ⊊.
U+228A (SUBSET OF WITH NOT EQUAL TO). Mathematical Operators block (U+2200–U+22FF). Hex 228A, decimal 8842.
In mathematical expressions, set theory notation, academic content, scientific documentation, educational materials, research papers, and any content representing proper subset relationships.
HTML numeric references (&#8842; or &#x228A;) go directly in markup. The CSS escape \228A is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
It represents a proper subset: one set is contained in another, but they are not equal. All elements of the subset are in the superset, and the superset has at least one extra element (e.g. AB).

Explore More HTML Entities!

Discover 1500+ HTML character references — set theory, math operators, and more.

All HTML Entities →

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