HTML Entity for Element Of With Long Horizontal Stroke (⋲)

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

What You'll Learn

How to display the Element Of With Long Horizontal Stroke (⋲) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+22F2 (ELEMENT OF WITH LONG HORIZONTAL STROKE) in the Mathematical Operators block (U+2200–U+22FF)—a variant of set membership related to standard element-of (∈, U+2208).

Render it with ⋲, ⋲, the named entity ⋲, or CSS escape \22F2. For standard membership use ∈ (∈). Compare ⋵ (dot above, U+22F5, ⋵) or ⋶ (overbar, U+22F6, ⋶).

⚡ Quick Reference — Element Of With Long Horizontal Stroke

Unicode U+22F2

Mathematical Operators

Hex Code ⋲

Hexadecimal reference

HTML Code ⋲

Decimal reference

Named Entity ⋲

Most readable in math markup

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22F2
Hex code       ⋲
HTML code      ⋲
Named entity   ⋲
CSS code       \22F2
Related        U+2208 = Element of (∈ ∈); U+22F5 = Dot above (⋵)
1

Complete HTML Example

This example demonstrates the Element Of With Long Horizontal Stroke (⋲) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\22F2";
  }
 </style>
</head>
<body>
<p>Element Of With Long Horizontal Stroke using Hexadecimal: &#x22F2;</p>
<p>Element Of With Long Horizontal Stroke using HTML Code: &#8946;</p>
<p>Element Of With Long Horizontal Stroke using HTML Entity: &disin;</p>
<p id="point">Element Of With Long Horizontal Stroke using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Element Of With Long Horizontal Stroke entity is universally supported in modern browsers:

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

👀 Live Preview

See the Element Of With Long Horizontal Stroke (⋲) alongside related element-of symbols:

Inline text Specialized membership: xS
Large glyph
vs standard xS  ·  xS
vs dot above xS  ·  xS
Numeric refs &#x22F2; &#8946; &disin;

🧠 How It Works

1

Hexadecimal Code

&#x22F2; uses the Unicode hexadecimal value 22F2 to display the Element Of With Long Horizontal Stroke. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&disin; is the semantic named entity for Element Of With Long Horizontal Stroke—the easiest to read in source HTML for set theory and mathematics.

HTML markup
4

CSS Entity

\22F2 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 the glyph: . Unicode U+22F2 sits in the Mathematical Operators block (U+2200–U+22FF).

Use Cases

The Element Of With Long Horizontal Stroke (⋲) commonly appears in:

📐 Set theory

Specialized membership or relation notation in proofs and expressions.

🎓 Education

Math textbooks, discrete math, and formal logic course materials.

📝 Logic

Formal logic, proof writing, and logical expression documentation.

💻 CS docs

Type systems, formal semantics, and set-theoretic technical writing.

📰 Research

Online math and CS publications with correct operator variants.

🌐 Math tools

Solvers, calculators, and formal logic UIs that output HTML.

💡 Best Practices

Do

  • Use &disin; for readable set-theory markup
  • Pick one style (hex / decimal / named) per project
  • Use math-friendly fonts (Cambria Math, Latin Modern Math)
  • Add aria-label (e.g. “element of with long horizontal stroke”) when meaning matters
  • Use &isin; (∈) when standard membership is sufficient

Don’t

  • Substitute ⋲ for ∈ unless your notation specifically requires it
  • Use CSS escape \22F2 inside HTML text nodes
  • Mix entity styles randomly in one file
  • Assume plain sans-serif fonts always render math variants clearly
  • Skip MathML for complex multi-line formulas

Key Takeaways

1

Three HTML references plus CSS all render ⋲

&#x22F2; &#8946; &disin;
2

For CSS stylesheets, use the escape in the content property

\22F2
3

Unicode U+22F2 — ELEMENT OF WITH LONG HORIZONTAL STROKE

4

Prefer &disin; for readability in math markup

5

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

❓ Frequently Asked Questions

Use &#x22F2; (hex), &#8946; (decimal), &disin; (named), or \22F2 in CSS content. All produce ⋲.
U+22F2 (ELEMENT OF WITH LONG HORIZONTAL STROKE). Mathematical Operators block (U+2200–U+22FF). Hex 22F2, decimal 8946. Used in specialized set-theory and logical notation.
In mathematical and educational content, set theory notation, logical expressions, and any HTML requiring this variant of the element-of symbol.
HTML entities (&#8946;, &#x22F2;, or &disin;) go directly in markup. The CSS escape \22F2 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Yes. &disin;, &#8946;, and &#x22F2; are equivalent in modern browsers and all render ⋲.

Explore More HTML Entities!

Discover 1500+ HTML character references — math operators, set theory 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