HTML Entity for Intersection (∩)

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

What You'll Learn

How to display the Intersection symbol (∩) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. In set theory, AB is the set of elements common to both A and B.

This character is U+2229 (INTERSECTION) in the Mathematical Operators block (U+2200–U+22FF). Render it with ∩, ∩, ∩, or CSS \2229. Do not confuse ∩ (cap) with ∪ (cup / union, ∪).

⚡ Quick Reference — Intersection

Unicode U+2229

Mathematical Operators

Hex Code ∩

Hexadecimal reference

HTML Code ∩

Decimal reference

Named Entity ∩

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2229
Hex code       ∩
HTML code      ∩
Named entity   ∩
CSS code       \2229
Meaning        Set intersection (cap)
Related        U+222A = union (∪)
CSS note       \2229 or \02229 in content property
1

Complete HTML Example

This example demonstrates the Intersection symbol (∩) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2229";
  }
 </style>
</head>
<body>
<p>Intersection using Hexadecimal: &#x2229;</p>
<p>Intersection using Decimal: &#8745;</p>
<p>Intersection using Named Entity: &cap;</p>
<p id="point">Intersection using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Intersection symbol (∩) 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 Intersection symbol (∩) in set theory and probability contexts:

Set notation AB = elements in both sets
Probability P(AB)
vs union AB   vs   AB
Large glyph
Numeric refs &#x2229; &#8745; &cap; \2229

🧠 How It Works

1

Hexadecimal Code

&#x2229; uses the Unicode hexadecimal value 2229 to display the Intersection symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
4

Named Entity

&cap; is the standard named HTML entity for set-theoretic intersection (mnemonic: “cap”).

HTML markup
=

Same visual result

All four methods produce . Unicode U+2229 is in Mathematical Operators. Next: Inverted Breve.

Use Cases

The Intersection symbol (∩) is commonly used in:

∑ Set Theory

AB = elements belonging to both A and B.

⬢ Venn Diagrams

Overlapping regions and visual explanations of set operations.

⊢ Logic & Math

Proofs, definitions, and formulas involving set intersection.

📚 Education

Textbooks, courses, and academic papers in mathematics.

🗃 SQL & Databases

Document INTERSECT queries and set-based operations.

📊 Probability

P(AB) for intersection of events.

💡 Best Practices

Do

  • Use &cap; for readable source markup
  • Label sets clearly (AB) in educational content
  • Pick one style (hex / decimal / named) per project
  • Use MathML or ARIA for complex set expressions
  • Test rendering with math-friendly fonts

Don’t

  • Confuse ∩ (intersection / &cap;) with ∪ (union / &cup;)
  • Use CSS \2229 inside HTML text nodes
  • Mix entity styles randomly in one file
  • Assume readers know notation without context
  • Confuse set ∩ with logical ∧ (and) in prose

Key Takeaways

1

Three HTML references all render ∩

&#x2229; &#8745; &cap;
2

For CSS stylesheets, use \2229 in the content property

3

Unicode U+2229 — INTERSECTION (Mathematical Operators)

4

Prefer &cap; for readability—union uses &cup; (∪)

5

Previous: Interrobang   Next: Inverted Breve

❓ Frequently Asked Questions

Use &#x2229; (hex), &#8745; (decimal), &cap; (named), or \2229 in CSS content. All produce ∩.
U+2229 (INTERSECTION). Mathematical Operators block (U+2200–U+22FF). Hex 2229, decimal 8745. Denotes set intersection in math and logic.
In set theory, Venn diagrams, mathematics and logic, academic papers, SQL documentation, probability (P(AB)), and any content requiring intersection of sets.
HTML entities (&cap;, &#8745;, or &#x2229;) go in markup. The CSS escape \2229 is used in stylesheets, typically on ::before or ::after. Both render ∩.
Yes. &cap; is the named HTML entity for ∩ (intersection). It is part of the HTML5 entity set and is well supported in modern browsers. Union uses &cup; for ∪.

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