HTML Entity for Uranus (♅)

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

What You'll Learn

How to display the Uranus symbol (♅) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2645 (URANUS) in the Miscellaneous Symbols block—the standard planetary/astrological glyph for the planet Uranus, used in astronomy charts, educational content, and space-themed designs.

Render it with ♅, ♅, or CSS escape \2645. There is no named HTML entity. Pair the symbol with the word “Uranus” for clarity, especially for screen readers and audiences unfamiliar with planetary glyphs.

⚡ Quick Reference — Uranus Entity

Unicode U+2645

Miscellaneous Symbols

Hex Code ♅

Hexadecimal reference

HTML Code ♅

Decimal reference

Named Entity

No named entity

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2645
Hex code       ♅
HTML code      ♅
Named entity   (none)
CSS code       \2645
Meaning        Uranus (planetary symbol)
Also called    Planet Uranus glyph
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing the Uranus symbol (♅) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2645";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2645;</p>
<p>Symbol (decimal): &#9797;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

The Uranus symbol (♅) is supported in modern browsers when the font includes Miscellaneous Symbols glyphs:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See the Uranus symbol rendered live in different contexts:

Inline textThe seventh planet is Uranus ♅ in the outer solar system.
Large glyph
Planet listJupiter ♃   Saturn ♄   Uranus ♅   Neptune ♆
Unicode nameURANUS (planetary symbol)
Numeric refs&#x2645; &#9797; \2645

🧠 How It Works

1

Hexadecimal Code

&#x2645; uses the Unicode hexadecimal value 2645 to display the Uranus symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#9797; uses the decimal Unicode value 9797 to display the same character. A common method for Miscellaneous Symbols.

HTML markup
3

CSS Entity

\2645 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: . Unicode U+2645 sits in Miscellaneous Symbols (U+2600–U+26FF) alongside other planetary glyphs.

Use Cases

The Uranus symbol (♅) is commonly used in:

🔭 Astronomy websites

Planet facts, observatory sites, and space-related documentation.

📚 Educational content

Science textbooks, learning apps, and classroom materials about the solar system.

🌐 Solar system displays

Planet lists, infographics, and interactive astronomy dashboards.

📄 Scientific documentation

Research papers, ephemerides, and academic content referencing planets.

⭐ Astrology content

Horoscope pages, birth-chart tools, and astrological references.

🎨 Space-themed design

Cosmic visuals, planet-themed UI, and space exploration branding.

⚙ Planetary data apps

Dashboards and APIs that display planetary symbols alongside orbital data.

💡 Best Practices

Do

  • Pair ♅ with the word “Uranus” for clarity and accessibility
  • Use aria-label="Uranus" when the symbol stands alone
  • Pick one style (hex or decimal) per project for consistency
  • Use fonts that support Miscellaneous Symbols
  • Test rendering across browsers and devices

Don’t

  • Rely on the symbol alone without context for general audiences
  • Mix entity styles randomly in one file
  • Use CSS escape \2645 inside HTML markup
  • Use HTML entities in JS (use \u2645 instead)
  • Expect a named HTML entity—none exists for ♅

Key Takeaways

1

Type ♅ directly, or use hex/decimal references

&#x2645; &#9797;
2

For CSS stylesheets, use the escape in the content property

\2645
3

Unicode U+2645 — URANUS (Miscellaneous Symbols)

4

No named entity—use numeric codes in HTML or \2645 in CSS

5

Previous: Upsilon Small (ʊ)   Next: Versicle

❓ Frequently Asked Questions

Use &#x2645; (hex), &#9797; (decimal), or \2645 in CSS content. There is no named HTML entity. In UTF-8 you can also type ♅ directly.
U+2645 (URANUS). Miscellaneous Symbols block. Hex 2645, decimal 9797. Used for the planet Uranus in astronomy and astrology notation.
In astronomy sites, solar-system displays, educational science content, astrology pages, and any web content that needs the planetary symbol for Uranus.
HTML entities (&#9797; or &#x2645;) go directly in markup. The CSS escape \2645 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.
Named HTML entities are reserved for commonly used ASCII, Latin-1, and widely recognized symbols. Miscellaneous Symbols like ♅ use numeric codes (hexadecimal or decimal) because they belong to specialized Unicode blocks. Use &#9797; or &#x2645; in HTML, or \2645 in CSS.

Explore More HTML Entities!

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