HTML Entity for Not Element Of (∉)

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

What You'll Learn

How to display the Not Element Of symbol (∉) in HTML using named, hexadecimal, decimal, and CSS escape methods. This set-membership operator states that an element is not in a set (e.g. xA means x is not an element of set A).

This character is U+2209 (NOT AN ELEMENT OF) in the Mathematical Operators block (U+2200–U+22FF). Render it with the named entity ∉, ∉, ∉, or CSS escape \2209. Compare with Element Of (∈, ∈).

⚡ Quick Reference — Not Element Of

Unicode U+2209

Mathematical Operators

Hex Code ∉

Hexadecimal reference

HTML Code ∉

Decimal reference

Named Entity ∉

HTML5 named entity for U+2209

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2209
Hex code       ∉
HTML code      ∉
Named entity   ∉
CSS code       \2209
Meaning        Not an element of
Related        U+2208 = element of (∈, ∈)
               U+220B = contains as member (∋, ∋)
               U+2260 = not equal (≠, ≠)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing ∉ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2209";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2209;</p>
<p>Symbol (decimal): &#8713;</p>
<p>Symbol (named): &notin;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2209 is widely supported wherever Unicode Mathematical Operators render correctly:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See ∉ in set theory and membership contexts:

Set membership 5 ∉ {1, 2, 3, 4}
Large glyph
Membership family ∈ element of   ∉ not element of   ∋ contains
Example x ∉ ℕ when x is negative
Entity refs &notin; &#x2209; &#8713; \2209

🧠 How It Works

1

Named Entity

&notin; is the HTML named entity for U+2209—the most readable choice when writing set-membership markup.

HTML markup
2

Hexadecimal Code

&#x2209; uses the Unicode hexadecimal value 2209 to display the not-element-of symbol.

HTML markup
3

Decimal HTML Code

&#8713; uses the decimal Unicode value 8713 to display the same character.

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+2209 in Mathematical Operators (U+2200–U+22FF).

Use Cases

The ∉ symbol (&notin;) is commonly used in:

🔢 Set theory

Expressing that an element is not a member of a set.

📚 Academia

Discrete math textbooks, papers, and lecture notes published as HTML.

📐 Logic & proofs

Formal definitions and proof steps involving set membership.

💻 CS education

Data structures and algorithms courses covering sets and collections.

🎓 Online courses

Interactive math modules with web-based notation.

🌐 Reference guides

Unicode charts and HTML entity documentation for math symbols.

💡 Best Practices

Do

  • Use &notin; for readable set-membership markup
  • Pair ∉ with plain-language description on first use
  • Distinguish from ∈ (element of) and ≠ (not equal)
  • Add aria-label for standalone relation symbols
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ∉ (&notin;) with ∈ (&isin;)
  • Use ∉ when you mean strict inequality (≠, &ne;)
  • Use padded Unicode notation like U+02209—the correct value is U+2209
  • Put CSS escape \2209 in HTML text nodes
  • Use \02209 in CSS—the correct escape is \2209

Key Takeaways

1

Three HTML references plus CSS all render ∉

&#x2209; &#8713; &notin;
2

For CSS stylesheets, use the escape in the content property

\2209
3

Unicode U+2209 — NOT AN ELEMENT OF

4

Mathematical Operators block (U+2200–U+22FF)

5

&notin; is the preferred named entity for readable source markup

❓ Frequently Asked Questions

Use &notin; (named), &#x2209; (hex), &#8713; (decimal), or \2209 in CSS content. All produce ∉.
U+2209 (NOT AN ELEMENT OF). Mathematical Operators block (U+2200–U+22FF). Hex 2209, decimal 8713. Named entity: &notin;.
In set theory, discrete mathematics, logic, and formal documents when expressing that an element is not a member of a set—for example, when a value fails a membership test.
∉ (&notin;) means an element is not in a set. ≠ (&ne;) means two values are not equal. They apply to different kinds of mathematical statements.
Yes. &notin; is the named HTML entity for U+2209 and is the most readable option in source markup.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, 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