HTML Entity for Intersection (∩)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2229

What Is the Intersection Entity?

Intersection (∩) is the Mathematical Operators character at Unicode U+2229 (INTERSECTION). In set theory, A ∩ B is the set of elements common to both A and B.

Remember
Character     ∩
Unicode       U+2229
Hex entity    ∩
Decimal       ∩
Named entity  ∩
CSS escape    \2229

All of these produce the same glyph: ∩. Prefer ∩ in HTML source for clarity; use hex/decimal when generating entities, and CSS \2229 only in content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity∩HTML markup (best default)
Hex entity∩HTML markup
Decimal entity∩HTML markup
CSS escape\2229Stylesheet content
Direct character∩UTF-8 HTML text

When to Use Which

SituationUse
Readable set-theory HTML source∩
Need a numeric entity in HTML∩ or ∩
Generated text via ::before / ::aftercontent: "\2229"
UTF-8 page, typing is easyType ∩ directly
Union of sets (∪)∪ / U+222A — different character

Live Preview

Intersection rendered in common set-theory contexts.

Set notation A ∩ B = elements in both
Large glyph ∩
Probability P(A ∩ B)
vs union A ∩ B  |  A ∪ B
With entities Hex: ∩ | Decimal: ∩ | Named: ∩

Complete HTML Example

One page that shows Intersection with the hex entity, decimal entity, named entity, and CSS escape. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All four ways to produce ∩ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Intersection (∩) in HTML</title>
  <style>
    #point::after {
      content: "\2229";
    }
  </style>
</head>
<body>
  <p>Intersection using Hex Code: &#x2229;</p>
  <p>Intersection using HTML Code: &#8745;</p>
  <p>Intersection using Named Entity: &cap;</p>
  <p id="point">Intersection using CSS Entity: </p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2229 → &#x2229; in HTML. The browser turns it into ∩.

2. Decimal: same code point as 8745 → &#8745;. Same result as hex.

3. Named: &cap; is the HTML5 name for this character — easiest to read in source.

4. CSS: use \2229 in content (not an HTML entity). #point::after appends that ∩ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with the Intersection symbol.

Named

Prefer &cap;

Named form is clearer than numeric codes in hand-written HTML.

CSS vs HTML

Do not mix escapes

\2229 belongs in CSS. &cap; / &#x2229; / &#8745; belong in HTML.

∩ vs ∪

Cap vs cup

∩ is intersection (&cap;). ∪ is union (&cup;) — opposite operation.

Logic

Not logical AND

Set ∩ is not the same as logical ∧ (U+2227). Use the operator that matches your meaning.

Semicolon

End references

Always finish with ; — write &cap;, not &cap.

Fonts

Math Operators support

Use fonts that include U+2229 (most modern UI and math fonts do).

Browser Support

Intersection (U+2229) and its entity forms (&cap;, &#x2229;, &#8745;, CSS \\2229) are supported in all mainstream browsers.

✓ Universal support

Intersection (∩)

Use &cap;, or encode with hex, decimal, or CSS escape — same glyph everywhere.

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+2229 / entities Full support

Bottom line: Prefer &cap; in HTML for readability. Use &#x2229; or &#8745; when encoding must be numeric, and \\2229 only inside CSS content.

Key Takeaways

  • Unicode: Intersection is U+2229 (decimal 8745).
  • HTML: prefer &cap;, or use &#x2229; / &#8745;.
  • CSS: use \2229 inside content for generated text.
  • Use case: set intersection — remember ∪ is union (&cup;).

One line: U+2229 → &cap; / &#x2229; / &#8745; / CSS \2229.

Frequently Asked Questions

Use &cap; (named), &#x2229; (hex), &#8745; (decimal), or the CSS escape \2229 in the content property. All render the Intersection symbol (∩).
U+2229 (INTERSECTION). Hex 2229, decimal 8745. It belongs to the Mathematical Operators block.
Yes. &cap; is the named HTML5 entity for ∩ and is supported in all modern browsers.
Use it in set theory, Venn diagrams, probability (P(A ∩ B)), and math docs. Prefer &cap; for readable source, or numeric forms when generating markup.
HTML entities (&cap;, &#8745;, or &#x2229;) go in markup. The CSS escape \2229 is used in stylesheets (usually in the content property of ::before/::after). Both render ∩.
No. ∩ is intersection (&cap;, U+2229) — elements in both sets. ∪ is union (&cup;, U+222A) — elements in either set.

Did you know?

Intersection is Unicode U+2229 (decimal 8745). HTML5 provides the named entity &cap; — prefer it for readable set-theory markup. Union is &cup; (∪, U+222A).

Next: Inverted Breve

Learn the HTML entity for the Inverted Breve combining mark — next in this entity sequence.

Inverted Breve 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