Comet (☄) is the Unicode character at U+2604 in the Miscellaneous Symbols block (official name: COMET). It is a simple astronomy / space glyph used in educational pages, labels, and light decorative UI.
Remember
Character ☄
Unicode U+2604
Hex entity ☄
Decimal ☄
Named entity (none)
CSS escape \2604
All of these produce the same glyph: ☄. Prefer a typed ☄ or hex ☄ in hand-written HTML; use decimal when generating numeric-only markup.
Comet using Hex Code: ☄
Comet using HTML Code: ☄
Comet using CSS Entity: ☄
Typed directly: ☄
How It Works
1. Hex:U+2604 → ☄ in HTML. The browser turns it into ☄.
2. Decimal: same code point as 9732 → ☄. Same result as hex.
3. CSS: use \2604 in content (not an HTML entity). #point::after appends that ☄ after the paragraph text.
4. Typed ☄: fine in UTF-8 pages. All four lines show the same glyph.
Pitfalls & Tips
Common mistakes when working with Comet entities.
Named?
No named entity
HTML5 does not define a named reference for U+2604. Use ☄ or ☄.
CSS vs HTML
Do not mix escapes
\2604 belongs in CSS. ☄ / ☄ belong in HTML.
☄ vs ☀
Different characters
☄ is U+2604. Sun ☀ is U+2600.
A11y
Do not rely on the glyph alone
Pair ☄ with text (or an accessible name) so screen-reader users get the same meaning — e.g. “Comet”.
Semicolon
End references
Always finish with ; — write ☄, not ☄.
Fonts
Coverage varies
Some fonts lack ☄. If it falls back to a box, try a font with broader Miscellaneous Symbols coverage or use SVG.
Compatibility
Browser Support
Comet (U+2604) and its entity forms (☄, ☄, CSS \\2604) are supported in all mainstream browsers that handle Unicode. Glyph availability depends on fonts.
✓ Universal support
Comet (☄)
Type ☄, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding and fonts support it.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+2604 / entitiesFull support
Bottom line: Prefer ☄ or a typed ☄ for simple comet labels. Use decimal when generating markup, and \\2604 only inside CSS content.
Remember
Key Takeaways
Unicode: comet is U+2604 (decimal 9732).
HTML: use ☄ or ☄ (no named entity).
CSS: use \2604 inside content for generated text.
Watch out: ☄ ≠ ☀ (comet ≠ sun).
One line:U+2604 → ☄ / ☄ / CSS \2604.
Frequently Asked Questions
Use ☄ (hex), ☄ (decimal), or the CSS escape \2604 in the content property. All render ☄. You can also paste ☄ directly when your file is UTF-8. There is no named HTML entity.
U+2604 (hex 2604, decimal 9732). Unicode names it COMET. It belongs to the Miscellaneous Symbols block.
No. HTML5 does not define a named entity for ☄. Use numeric references like ☄ or ☄.
Use it for astronomy labels, space-themed pages, or simple decorative cues. Prefer SVG icons when you need color, size control, or animation.
HTML entities (☄ or ☄) go in markup. The CSS escape \2604 goes in stylesheet strings (usually content on ::before/::after).
☄ (U+2604) is COMET. ☀ (U+2600) is BLACK SUN WITH RAYS — a different astronomy / weather symbol with its own code point.
🤔
Did you know?
Comet is Unicode U+2604 (decimal 9732) — official name COMET in the Miscellaneous Symbols block. HTML5 has no named entity. It is an astronomy / space symbol and is not the sun (U+2600 ☀) or a generic star glyph.