HTML Entity for Square Cup (⊔)

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

What You'll Learn

How to display the Square Cup (⊔) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+2294 (SQUARE CUP) in the Mathematical Operators block (U+2200–U+22FF)—a set-theoretic and lattice operator (join).

Render it with ⊔, ⊔, ⊔, or CSS \2294. Distinct from the combining mark Combining Square Below (U+033B) and paired with square cap U+2293 (⊓, ⊓).

⚡ Quick Reference — Square Cup

Unicode U+2294

Mathematical Operators

Hex Code ⊔

Hexadecimal reference

HTML Code ⊔

Decimal reference

Named Entity ⊔

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2294
Hex code       ⊔
HTML code      ⊔
Named entity   ⊔
CSS code       \2294
Meaning        Square cup (join)
Paired with    U+2293 = square cap (⊓, ⊓)
Not the same   U+033B = combining square below
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

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

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2294";
  }
 </style>
</head>
<body>
<p>Square cup (named): &sqcup;</p>
<p>Square cup (hex): &#x2294;</p>
<p>Square cup (decimal): &#8852;</p>
<p id="point">Square cup (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Square Cup (⊔) is supported in all modern browsers when fonts include Mathematical Operators glyphs:

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

👀 Live Preview

See the square cup symbol in mathematical contexts:

Single symbol
Set notation A ⊔ B (join / union-like)
Cap and cup Cap ⊓  |  Cup ⊔
Named entity &sqcup; renders as ⊔
Numeric refs &sqcup; &#x2294; &#8852; \2294

🧠 How It Works

1

Named HTML Entity

&sqcup; is the semantic named entity for the square cup operator—the most readable option in source HTML.

HTML markup
2

Hexadecimal Code

&#x2294; uses Unicode hexadecimal 2294 to display ⊔ in HTML markup.

HTML markup
3

Decimal HTML Code

&#8852; uses decimal Unicode value 8852 for the same character.

HTML markup
4

CSS Entity

\2294 is used in CSS stylesheets in the content property of pseudo-elements like ::after.

CSS stylesheet
=

Same visual result

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

Use Cases

The Square Cup (⊔) commonly appears in:

📊 Set theory

Join operations and union-like notation in lattices.

📐 Mathematical notation

Equations and formulas using the square cup operator.

📚 Academic papers

Research on order theory, logic, and abstract algebra.

🏫 Educational content

Tutorials on lattice join and mathematical operators.

📄 Technical documentation

Scientific and engineering references with precise notation.

🛠 Formula editors

Web-based math tools displaying operator symbols.

💡 Best Practices

Do

  • Use &sqcup; for readable source markup
  • Distinguish ⊔ (cup) from ⊓ (cap, &sqcap;)
  • Add context text when the symbol stands alone in educational content
  • Pick one entity style (named, hex, or decimal) per project
  • Test rendering with math-friendly fonts

Don’t

  • Confuse U+2294 (⊔, math operator) with U+033B (combining mark)
  • Use padded Unicode notation like U+02294—the correct value is U+2294
  • Put CSS escape \2294 in HTML text nodes
  • Confuse &sqcup; with &sqcap;
  • Mix entity styles randomly in one file

Key Takeaways

1

Four HTML/CSS references all render ⊔

&sqcup; &#x2294; &#8852;
2

For CSS stylesheets, use \2294 in the content property

3

Unicode U+2294 — SQUARE CUP (⊔)

4

&sqcup; is cup; &sqcap; is cap (U+2293)

5

Previous: Square Cap   Next: Square Image Of

❓ Frequently Asked Questions

Use &sqcup; (named), &#x2294; (hex), &#8852; (decimal), or \2294 in CSS content. All four render ⊔.
U+2294 (SQUARE CUP). Mathematical Operators (U+2200–U+22FF). Hex 2294, decimal 8852, named &sqcup;.
&sqcup; renders ⊔ (U+2294, square cup / join). &sqcap; renders ⊓ (U+2293, square cap / meet). They are paired operators in lattice and set notation.
For mathematical notation, set theory, lattice join operations, technical documentation, academic papers, and educational content that need the square cup operator.
HTML references (&sqcup;, &#8852;, or &#x2294;) go in markup. The CSS escape \2294 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.

Explore More HTML Entities!

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