HTML Entity for Star Crescent (☪)

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

What You'll Learn

How to display Star Crescent (☪) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+262A (STAR AND CRESCENT) in the Miscellaneous Symbols block (U+2600–U+26FF)—a combined star-and-crescent glyph used in cultural, religious, and decorative contexts.

Render it with ☪, ☪, or CSS \262A. There is no named HTML entity. Do not confuse ☪ with Black Star ★ (U+2605) or Star of David ✡ (U+2721).

⚡ Quick Reference — Star Crescent

Unicode U+262A

Miscellaneous Symbols

Hex Code ☪

Hexadecimal reference

HTML Code ☪

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+262A
Hex code       ☪
HTML code      ☪
Named entity   (none)
CSS code       \262A
Meaning        Star and Crescent
Not the same   U+2605 = Black Star (★)
               U+2721 = Star of David (✡)
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing ☪ using hexadecimal code, decimal HTML code, and a CSS content escape (no named entity):

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\262A";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x262A; Star and Crescent</p>
<p>Symbol (decimal): &#9770; Decorative</p>
<p id="point">Symbol (CSS): Themed </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

Star Crescent (☪) renders in modern browsers when fonts include Miscellaneous Symbols glyphs:

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

👀 Live Preview

See the star and crescent symbol in decorative and themed contexts:

Single symbol
Cultural heading ☪ Heritage & Symbols
Decorative theme ☪ Celestial Design
Not the same as ☪ (Star & Crescent)  |  ★ (Black Star)  |  ✶ (Six-Pointed Star)
Numeric refs &#x262A; &#9770; \262A

🧠 How It Works

1

Hexadecimal Code

&#x262A; references code point U+262A using hex digits 262A.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

CSS Entity

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

CSS stylesheet
=

Same visual result

All three methods produce . Unicode U+262A in Miscellaneous Symbols (U+2600–U+26FF). No named entity.

Use Cases

Star Crescent (☪) commonly appears in:

🌐 Cultural content

Websites and educational materials about cultural and religious symbolism.

🎨 Decorative design

Logos, banners, and creative layouts with celestial themes.

🌟 Fantasy themes

Gaming, storytelling, and themed UI with symbolic imagery.

📚 Educational sites

Courses and references teaching Unicode symbols and typography.

📖 Heritage platforms

Cultural heritage and history content with appropriate context.

🌃 Themed navigation

Section icons and labels in culturally themed web applications.

💡 Best Practices

Do

  • Use &#x262A; or &#9770; in HTML markup
  • Provide accessible text alongside the symbol in navigation or headings
  • Use the symbol only where context and meaning are clear
  • Pick hex or decimal style and stay consistent per project
  • Test rendering with symbol-friendly fonts across devices

Don’t

  • Use padded Unicode notation like U+0262A—the correct value is U+262A
  • Use CSS \0262A with a leading zero—prefer \262A
  • Confuse ☪ with Black Star ★ (U+2605) or Star of David ✡ (U+2721)
  • Use the symbol decoratively without considering cultural or religious significance
  • Put CSS escape \262A in HTML text nodes

Key Takeaways

1

Three ways to render U+262A in HTML and CSS

&#x262A; &#9770;
2

For CSS stylesheets, use \262A in the content property

3

U+262A — STAR AND CRESCENT (☪)

4

Distinct from Black Star ★ and Star of David ✡

5

Previous: Star   Next: Star David

❓ Frequently Asked Questions

Use &#x262A; (hex), &#9770; (decimal), or \262A in CSS content. There is no named HTML entity. All three render ☪.
U+262A (STAR AND CRESCENT). Miscellaneous Symbols (U+2600–U+26FF). Hex 262A, decimal 9770.
For cultural and religious content, decorative celestial themes, fantasy designs, educational materials about symbols, heritage platforms, and themed UI where a combined star-and-crescent glyph is appropriate.
HTML references (&#9770; or &#x262A;) go in markup; the CSS escape \262A goes in stylesheets (e.g. ::before/::after content). Both render ☪.
Named HTML entities cover ASCII, Latin-1, and some common symbols. Miscellaneous Symbols characters like U+262A use numeric hex or decimal references—standard practice for specialized Unicode blocks.

Explore More HTML Entities!

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