HTML Entity for Subset Of (⊂)

What You'll Learn
How to display the Subset Of symbol (⊂) in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+2282 (SUBSET OF) in the Mathematical Operators block (U+2200–U+22FF)—the standard notation for a subset relationship in set theory.
Render it with ⊂, ⊂, the named entity ⊂, or CSS escape \2282. For example, A ⊂ B means every element of A is in B. Do not confuse ⊂ with ⊆ (subset or equal to) or ⊄ (not a subset of).
⚡ Quick Reference — Subset Of
U+2282Mathematical Operators
⊂Hexadecimal reference
⊂Decimal reference
⊂Most readable option
Name Value
──────────── ──────────
Unicode U+2282
Hex code ⊂
HTML code ⊂
Named entity ⊂
CSS code \2282
Block Mathematical Operators (U+2200–U+22FF)
Related U+2286 = Subset or equal to (⊆)Complete HTML Example
This example demonstrates the Subset Of symbol (⊂) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2282";
}
</style>
</head>
<body>
<p>Subset Of using Hexadecimal: ⊂</p>
<p>Subset Of using HTML Code: ⊂</p>
<p>Subset Of using Named Entity: ⊂</p>
<p id="point">Subset Of using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Subset Of entity is universally supported in all modern browsers:
👀 Live Preview
See the Subset Of symbol (⊂) rendered in different contexts:
🧠 How It Works
Hexadecimal Code
⊂ uses the Unicode hexadecimal value 2282 to display the Subset Of symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
⊂ uses the decimal Unicode value 8834 to display the same character. This is one of the most commonly used methods.
Named Entity
⊂ is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.
CSS Entity
\2282 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce the glyph: ⊂. Unicode U+2282 in the Mathematical Operators block (U+2200–U+22FF).
Use Cases
The Subset Of symbol (⊂) commonly appears in:
Equations like A ⊂ B in formulas and proofs.
Textbooks, papers, and lectures on sets and relations.
Research papers, proofs, and scholarly articles.
Technical documentation and math web applications.
Online courses and tutorials on mathematics and set theory.
Calculator interfaces and computational tool UIs.
Conference proceedings and mathematical journals.
💡 Best Practices
Do
- Use
⊂for readable source markup - Pick one style (hex / decimal / named) per project
- Add
aria-labelfor standalone symbols in math content - Test the glyph across browsers and fonts
- Pair ⊂ with plain text on first use (e.g. “A subset B”)
Don’t
- Confuse ⊂ (subset) with ⊆ (subset or equal) or ⊃ (superset)
- Mix entity styles randomly in one file
- Use CSS escape
\2282inside HTML text nodes - Use HTML entities in JS (use
\u2282instead) - Assume all fonts render ⊂ clearly at small sizes
Key Takeaways
Three HTML references all render ⊂
⊂ ⊂ ⊂For CSS stylesheets, use the escape in the content property
\2282Unicode U+2282 — SUBSET OF
Prefer ⊂ for readability—it’s the most self-descriptive named entity
Part of the Mathematical Operators block (U+2200–U+22FF)
❓ Frequently Asked Questions
⊂ (hex), ⊂ (decimal), ⊂ (named), or \2282 in CSS content. All produce ⊂.U+2282 (SUBSET OF). Mathematical Operators block (U+2200–U+22FF). Hex 2282, decimal 8834.⊂, ⊂, or ⊂) go directly in markup. The CSS escape \2282 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.Explore More HTML Entities!
Discover 1500+ HTML character references — set theory, math operators, and more.
8 people found this page helpful
