HTML Entity for Star Crescent (☪)

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
U+262AMiscellaneous Symbols
☪Hexadecimal reference
☪Decimal reference
—Use numeric codes only
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)Complete HTML Example
A simple example showing ☪ using hexadecimal code, decimal HTML code, and a CSS content escape (no named entity):
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\262A";
}
</style>
</head>
<body>
<p>Symbol (hex): ☪ Star and Crescent</p>
<p>Symbol (decimal): ☪ Decorative</p>
<p id="point">Symbol (CSS): Themed </p>
</body>
</html>🌐 Browser Support
Star Crescent (☪) renders in modern browsers when fonts include Miscellaneous Symbols glyphs:
👀 Live Preview
See the star and crescent symbol in decorative and themed contexts:
🧠 How It Works
Hexadecimal Code
☪ references code point U+262A using hex digits 262A.
Decimal HTML Code
☪ is the decimal equivalent (9770) for the same character.
CSS Entity
\262A is the CSS escape for U+262A, used in the content property of pseudo-elements.
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:
Websites and educational materials about cultural and religious symbolism.
Logos, banners, and creative layouts with celestial themes.
Gaming, storytelling, and themed UI with symbolic imagery.
Courses and references teaching Unicode symbols and typography.
Cultural heritage and history content with appropriate context.
Section icons and labels in culturally themed web applications.
💡 Best Practices
Do
- Use
☪or☪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
\0262Awith 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
\262Ain HTML text nodes
Key Takeaways
Three ways to render U+262A in HTML and CSS
☪ ☪For CSS stylesheets, use \262A in the content property
U+262A — STAR AND CRESCENT (☪)
Distinct from Black Star ★ and Star of David ✡
Previous: Star Next: Star David
❓ Frequently Asked Questions
☪ (hex), ☪ (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.☪ or ☪) go in markup; the CSS escape \262A goes in stylesheets (e.g. ::before/::after content). Both render ☪.Explore More HTML Entities!
Discover 1500+ HTML character references — stars, symbols, and more.
8 people found this page helpful
