HTML Entity for Star Crescent (☪)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+262A

What Is Star Crescent?

Star and crescent (☪) is the Unicode character at U+262A in Miscellaneous Symbols. Official name: STAR AND CRESCENT. It is a single combined glyph — not two separate characters placed side by side.

Remember
Character     ☪
Unicode       U+262A
Named entity  (none)
Hex entity    ☪
Decimal       ☪
CSS escape    \262A
Not the same  ★ · ☽ · ✡

Prefer ☪ or ☪ in HTML markup. You can also type ☪ in UTF-8. For a plain filled star, use ★ (★) instead.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNoneUse numeric or type the character
Direct character☪HTML text (UTF-8)
Hex entity☪HTML markup (preferred)
Decimal entity☪HTML markup
CSS escape\262AStylesheet content
Black star (related)★ (U+2605)Named ★

When to Use Which

SituationUse
Star and crescent (combined glyph)☪ or type ☪
Filled black star only★ (★)
Crescent / quarter moon☽ (U+263D)
Star of David✡ (U+2721)
Generated text via ::before / ::aftercontent: "\262A"

Live Preview

Star and crescent rendered alone and next to related symbols.

Large glyph ☪
Notation Symbol: ☪
Compared ☪  |  ★  |  ☽
Hint Compare: Combined ☪ | Star ★ | Moon ☽
With entities Hex: ☪ | Decimal: ☪

Complete HTML Example

One page that shows the symbol with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ☪, plus a short label example. No named entity exists.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Star Crescent (☪)</title>
  <style>
    #point::after {
      content: "\262A";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x262A;</p>
  <p>Using HTML Code: &#9770;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Typed directly: ☪</p>
  <p>Notation: Symbol &#x262A;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+262A → &#x262A; in HTML. Preferred numeric form when you need an entity.

2. Decimal: same code point as 9770 → &#9770;. Same glyph as hex.

3. CSS: use \262A in content (not an HTML entity). #point::after appends that ☪ after the paragraph text.

4. Typed / notation: paste ☪ in UTF-8, or write Symbol &#x262A; for a short label.

5. No named entity: HTML5 does not define a name for U+262A — use numeric references or type the character.

Pitfalls & Tips

Common mistakes when working with U+262A.

vs ★

Not a plain black star

U+2605 (★, &starf;) is only the filled star. U+262A is the combined star-and-crescent glyph.

Compose

Do not fake it with two characters

Typing ★ next to ☽ is not the same as U+262A. Use the single code point when you need this symbol.

Named

No named HTML entity

There is no &starandcrescent; for U+262A. Use &#x262A; or &#9770;.

Fonts

Symbol font coverage varies

Some UI fonts omit Miscellaneous Symbols. Prefer a stack that includes a symbols or emoji font if the glyph must always show.

CSS vs HTML

Do not mix escapes

\262A belongs in CSS strings. &#x262A; / &#9770; belong in HTML.

A11y

Name the symbol in context

Screen readers may announce this unevenly. Prefer nearby plain-language text when the glyph carries cultural or UI meaning.

Browser Support

Star and crescent (U+262A) and its entity forms (&#x262A;, &#9770;, CSS \\262A) are supported in all mainstream browsers. Visible glyphs depend on Miscellaneous Symbols font coverage.

✓ Universal support

Star Crescent (&#x262A;)

Encode with hex, decimal, CSS escape, or type the character — same code point everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+262A / entities Full support

Bottom line: Prefer &#x262A; or &#9770; in HTML. Use \\262A only inside CSS content. There is no named entity.

Key Takeaways

  • Unicode: star and crescent is U+262A (decimal 9770) — glyph ☪.
  • HTML: no named entity — use &#x262A; / &#9770; / type ☪.
  • CSS: use \262A inside content for generated text.
  • Meaning: ☪ is one combined glyph — not ★ alone, not ☽ alone.

One line: U+262A → &#x262A; / &#9770; / CSS \262A (no named entity).

Frequently Asked Questions

Use &#x262A; (hex), &#9770; (decimal), type ☪ directly in UTF-8, or the CSS escape \262A in content. There is no named HTML entity.
U+262A (STAR AND CRESCENT). Hex 262A, decimal 9770. It belongs to Miscellaneous Symbols (U+2600–U+26FF).
No. Use numeric references &#x262A; or &#9770;, or type ☪ in UTF-8.
No. ☪ is U+262A (star and crescent as one glyph). ★ is U+2605 (&starf;). ☽ is U+263D (first quarter moon).
Use it when you need the combined star-and-crescent character. For a plain filled star, use &starf; instead.
HTML entities (&#9770; or &#x262A;) go in markup. The CSS escape \262A goes in stylesheet strings (usually content on ::before/::after).

Did you know?

Star and crescent is Unicode U+262A (decimal 9770) — glyph ☪ in Miscellaneous Symbols (U+2600–U+26FF). Official name: STAR AND CRESCENT. HTML5 has no named entity — use &#x262A; or &#9770;. Do not confuse with black star U+2605 (&starf;, ★) or first quarter moon U+263D (☽).

Next: Star David

Learn the HTML entity for star of David (U+2721).

Continue tutorial →

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