HTML Entity for Star Operator (⋆)

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

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

Unicode U+22C6

Mathematical Operators

Hex Code ⋆

Hexadecimal reference

HTML Code ⋆

Decimal reference

Named Entity ⋆

Most readable option

Reference Table
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)
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: "\22C6";
  }
 </style>
</head>
<body>
<p>Algebra (named): a &Star; b</p>
<p>Algebra (hex): x &#x22C6; y</p>
<p>Algebra (decimal): m &#8902; n</p>
<p id="point">Algebra (CSS): Notation </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

Star Operator (⋆) renders in modern browsers when fonts include Mathematical Operators glyphs:

Chrome1+
Firefox1+
Safari3.1+
Edge12+
Opera4+
Android4.4+
iOS Safari3.2+

👀 Live Preview

See the star operator in mathematical contexts:

Single symbol
Algebraic expression a ⋆ b
Named entity f &Star; g
Not the same as ⋆ (Star Operator)  |  ≛ (Star Equals)  |  ★ (Black Star)
Numeric refs &Star; &#x22C6; &#8902; \22C6

🧠 How It Works

1

Named HTML Entity

&Star; is the semantic named entity for the star operator—the most readable option in source HTML.

HTML markup
2

Hexadecimal Code

&#x22C6; references code point U+22C6 using hex digits 22C6.

HTML markup
3

Decimal HTML Code

&#8902; is the decimal equivalent (8902) for the same character.

HTML markup
4

CSS Entity

\22C6 is the CSS escape for U+22C6, used in the content property of pseudo-elements.

CSS stylesheet
=

Same visual result

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

Use Cases

Star Operator (⋆) commonly appears in:

📊 Math expressions

Equations and formulas using star operations in algebra.

🏫 Academic papers

Research articles, proofs, and scholarly mathematical content.

📚 Educational sites

Online courses, textbooks, and tutorials teaching algebra.

🔬 Scientific docs

Technical documentation for convolution and operator notation.

💻 Math software UI

Calculator interfaces and computational tool labels.

📖 Reference guides

Symbol tables and operator cheat sheets for developers.

💡 Best Practices

Do

  • Prefer &Star; for readable HTML source code
  • Use &#x22C6; or &#8902; 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 \022C6 with a leading zero—prefer \22C6
  • Confuse ⋆ with Black Star ★ (U+2605) or Star Equals ≛ (U+225B)
  • Use lowercase &star; (white star U+2606) when you mean the math operator
  • Put CSS escape \22C6 in HTML text nodes

Key Takeaways

1

Four ways to render U+22C6 in HTML and CSS

&Star; &#x22C6;
2

For CSS stylesheets, use \22C6 in the content property

3

U+22C6 — STAR OPERATOR (⋆)

4

Distinct from Star Equals ≛ and decorative Black Star ★

5

Previous: Star Equals   Next: Star Outlined

❓ Frequently Asked Questions

Use &Star; (named), &#x22C6; (hex), &#8902; (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 &Star;.
No. ⋆ (U+22C6) is STAR OPERATOR in Mathematical Operators. ★ (U+2605) is BLACK STAR in Miscellaneous Symbols with entity &starf;. They look similar but serve different purposes.
For mathematical expressions, algebraic notation, academic papers, scientific documentation, educational materials, and research content involving star operations such as convolution or specialized binary operators.
⋆ denotes a star operation in algebra—commonly used for convolution, the Hodge star operator, or other context-specific binary operations defined in mathematical notation.

Explore More HTML Entities!

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