HTML Entity for Element Of (∈)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2208

What Is Element Of?

Element of (∈) is the Unicode character at U+2208 in Mathematical Operators. Official name: ELEMENT OF. It marks set membership — read “is an element of,” as in x ∈ S.

Remember
Character     ∈
Unicode       U+2208
Named entity  ∈
Aliases       ∈ · ∈
Hex entity    ∈
Decimal       ∈
CSS escape    \2208
Not the same  ∉ (notin) · ∋ (contains)

Prefer ∈ in HTML markup. You can also use ∈ / ∈, or type ∈ in a UTF-8 document.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity∈HTML markup (preferred)
Named aliases∈ · ∈Same glyph as ∈
Hex entity∈HTML markup
Decimal entity∈HTML markup
Direct character∈HTML text (UTF-8)
CSS escape\2208Stylesheet content

When to Use Which

SituationUse
Element of / membership∈ or type ∈
Not an element ofU+2209 (∉, ∉)
Contains as memberU+220B (∋, ∋)
Small / underbar variantsSmall element of · Element of underbar
Generated text via ::before / ::aftercontent: "\2208"

Live Preview

Element of rendered alone, in a membership statement, and compared with related operators.

Glyph ∈
Large glyph ∈
Membership x ∈ S
Compared ∈   ∉   ∋
With entities Named: ∈ | Hex: ∈ | Decimal: ∈

Complete HTML Example

One page that shows Element Of with named, hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Named + Hex + Decimal + CSS + Typed

Five ways to display ∈ in HTML and CSS.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Element Of (U+2208) in HTML</title>
  <style>
    #point::after {
      content: "\2208";
    }
  </style>
</head>
<body>
  <p>Built with Named: &isin;</p>
  <p>Built with Hex: &#x2208;</p>
  <p>Built with Decimal: &#8712;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ∈</p>
  <p>Membership: x &isin; S</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &isin; is the preferred HTML5 name for U+2208 → ∈.

2. Hex: &#x2208; inserts the same code point. Same visual as named.

3. Decimal: same code point as 8712 → &#8712;.

4. CSS: use \2208 in content (not an HTML entity). #point::after appends ∈.

5. Typed: paste ∈ in a UTF-8 document, or write membership like x &isin; S.

Pitfalls & Tips

Common mistakes when working with Element Of.

Name

Prefer &isin;

&isin; is the clearest named form. &in; and &Element; are valid aliases for the same glyph.

∉

Not &notin;

U+2209 means “not an element of.” Use &notin; for negation, not &isin;.

∋

Not contains-as-member

U+220B (&ni;) reverses the relation: the set contains the element.

CSS vs HTML

Do not mix escapes

\2208 belongs in CSS strings. &isin; / &#x2208; / &#8712; belong in HTML.

Fonts

Math font coverage

Some fonts omit Mathematical Operators. Prefer a font with solid math coverage for set notation.

a11y

Add accessible text

Screen readers may not expand ∈ clearly. Prefer full phrases nearby (for example “x is an element of S”) when the meaning matters.

Semicolon

End references

Always finish entities with ; — write &isin;, not &isin.

Browser Support

Element of (U+2208) and its entity forms (&isin;, &#x2208;, &#8712;, CSS \\2208) are supported in all mainstream browsers. Visible glyphs depend on Mathematical Operators font coverage.

✓ Universal support

Element Of (&#x2208;)

Encode with named, hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

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+2208 / &isin; Full support

Bottom line: Prefer &isin; in HTML. Use &#x2208; / &#8712; when numeric form is required, and \\2208 only inside CSS content.

Key Takeaways

  • Unicode: element of is U+2208 (decimal 8712) — glyph ∈.
  • HTML: prefer &isin; (aliases &in;, &Element;).
  • CSS: use \2208 inside content for generated text.
  • Meaning: ∈ ≠ notin ∉ ≠ contains ∋.

One line: U+2208 → &isin; / &#x2208; / CSS \2208.

Frequently Asked Questions

Use &isin; (named), &#x2208; (hex), &#8712; (decimal), type ∈ directly in UTF-8, or the CSS escape \2208 in content. Aliases &in; and &Element; also resolve to U+2208.
U+2208 (ELEMENT OF). Hex 2208, decimal 8712. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. &isin; is the preferred readable named entity for U+2208. &in; and &Element; are valid HTML5 aliases for the same character.
Use it for set membership in math, logic, and CS docs (for example x ∈ S). Prefer &notin; for “not an element of,” and &ni; when you need the reversed “contains as member” relation.
HTML entities (&isin;, &#8712;, or &#x2208;) go in markup. The CSS escape \2208 goes in stylesheet strings (usually content on ::before/::after).
No. U+2208 is ∈ (element of). U+2209 is ∉ (not an element of). U+220B is ∋ (contains as member).

Did you know?

Element of is Unicode U+2208 (decimal 8712) — glyph ∈ (ELEMENT OF) in Mathematical Operators. HTML5 names it &isin; (aliases &in;, &Element;). Negation is &notin; (∉). The reverse relation is &ni; (∋, contains as member).

Next: Element Of Underbar

Learn the HTML entity for element of underbar (U+22F8).

Element Of Underbar 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