HTML Entity for Star Operator (⋆)

What You'll Learn
How to display Star Operator (⋆) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+22C6 (STAR OPERATOR) in the Mathematical Operators block (U+2200–U+22FF)—a binary operator used in algebra, convolution, and related mathematical notation.
Render it with ⋆, ⋆, ⋆, or CSS \22C6. Do not confuse ⋆ with decorative Black Star ★ (U+2605, ★) or Star Equals ≛ (U+225B).
⚡ Quick Reference — Star Operator
U+22C6Mathematical Operators
⋆Hexadecimal reference
⋆Decimal reference
⋆Most readable option
Name Value
──────────── ──────────
Unicode U+22C6
Hex code ⋆
HTML code ⋆
Named entity ⋆
CSS code \22C6
Meaning Star operator
Not the same U+225B = Star Equals (≛)
U+2605 = Black Star (★, ★)
Block Mathematical Operators (U+2200–U+22FF)Complete HTML Example
A simple example showing ⋆ using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\22C6";
}
</style>
</head>
<body>
<p>Algebra (named): a ⋆ b</p>
<p>Algebra (hex): x ⋆ y</p>
<p>Algebra (decimal): m ⋆ n</p>
<p id="point">Algebra (CSS): Notation </p>
</body>
</html>🌐 Browser Support
Star Operator (⋆) renders in modern browsers when fonts include Mathematical Operators glyphs:
👀 Live Preview
See the star operator in mathematical contexts:
🧠 How It Works
Named HTML Entity
⋆ is the semantic named entity for the star operator—the most readable option in source HTML.
Hexadecimal Code
⋆ references code point U+22C6 using hex digits 22C6.
Decimal HTML Code
⋆ is the decimal equivalent (8902) for the same character.
CSS Entity
\22C6 is the CSS escape for U+22C6, used in the content property of pseudo-elements.
Same visual result
All four methods produce ⋆. Unicode U+22C6 in Mathematical Operators (U+2200–U+22FF).
Use Cases
Star Operator (⋆) commonly appears in:
Equations and formulas using star operations in algebra.
Research articles, proofs, and scholarly mathematical content.
Online courses, textbooks, and tutorials teaching algebra.
Technical documentation for convolution and operator notation.
Calculator interfaces and computational tool labels.
Symbol tables and operator cheat sheets for developers.
💡 Best Practices
Do
- Prefer
⋆for readable HTML source code - Use
⋆or⋆when named entities are unavailable - Provide context or alt text for screen readers in mathematical content
- Use math-friendly fonts that support Mathematical Operators
- Pick one reference style and stay consistent per project
Don’t
- Use padded Unicode notation like U+022C6—the correct value is
U+22C6 - Use CSS
\022C6with a leading zero—prefer\22C6 - Confuse ⋆ with Black Star ★ (U+2605) or Star Equals ≛ (U+225B)
- Use lowercase
☆(white star U+2606) when you mean the math operator - Put CSS escape
\22C6in HTML text nodes
Key Takeaways
Four ways to render U+22C6 in HTML and CSS
⋆ ⋆For CSS stylesheets, use \22C6 in the content property
U+22C6 — STAR OPERATOR (⋆)
Distinct from Star Equals ≛ and decorative Black Star ★
Previous: Star Equals Next: Star Outlined
❓ Frequently Asked Questions
⋆ (named), ⋆ (hex), ⋆ (decimal), or \22C6 in CSS content. All four render ⋆.U+22C6 (STAR OPERATOR). Mathematical Operators (U+2200–U+22FF). Hex 22C6, decimal 8902, named entity ⋆.★. They look similar but serve different purposes.Explore More HTML Entities!
Discover 1500+ HTML character references — math operators, stars, and more.
8 people found this page helpful
