HTML Entity for Neptune (♆)

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

What You'll Learn

How to display the Neptune symbol (♆) in HTML using hexadecimal, decimal, and CSS escape methods. The symbol denotes the planet Neptune in astronomy and astrology.

It is U+2646 (NEPTUNE) in the Miscellaneous Symbols block (U+2600–U+26FF). Use ♆, ♆, or CSS \2646. There is no named HTML entity for this character.

⚡ Quick Reference — Neptune Symbol

Unicode U+2646

Miscellaneous Symbols

Hex Code ♆

Hexadecimal reference

HTML Code ♆

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2646
Hex code       ♆
HTML code      ♆
Named entity   (none)
CSS code       \2646
Meaning        Planet Neptune (♆)
Glyph          ♆
Example        Planets: ♆ Neptune
1

Complete HTML Example

This example shows the Neptune symbol (U+2646) using hexadecimal code, decimal HTML code, and a CSS content escape. This character has no named HTML entity:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2646";
  }
 </style>
</head>
<body>
<p>Neptune using Hexadecimal: &#x2646;</p>
<p>Neptune using Decimal: &#9798;</p>
<p id="point">Neptune using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Neptune symbol (♆) is widely supported when fonts include Miscellaneous Symbols (U+2600–U+26FF):

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the Neptune symbol (♆) in astronomy and astrology contexts:

Planet ♆ Neptune
Outer planets ♂ Saturn ♆ Neptune ♇ Pluto
Large glyph
Named entity (none) — use numeric codes
Numeric refs &#x2646; &#9798; \2646

🧠 How It Works

1

Hexadecimal Code

&#x2646; uses the Unicode hexadecimal value 2646 to display the Neptune symbol (♆).

HTML markup
2

Decimal HTML Code

&#9798; uses the decimal Unicode value 9798 for the same character.

HTML markup
3

CSS Entity

\2646 is used in CSS stylesheets in the content property, often on ::after following a base character in markup.

CSS stylesheet
4

No Named Entity

U+2646 has no standard &...; named form. Use hex, decimal, or CSS escape only.

HTML markup
=

Same visual result

All three methods produce . Unicode U+2646 is in Miscellaneous Symbols. Related: Jupiter (♃).

Use Cases

The Neptune symbol (♆) is commonly used in:

🌌 Astronomy

Planet lists, solar system content, and space education with ♆.

✨ Astrology

Horoscopes, birth charts, and zodiac content using the Neptune symbol.

📚 Education

STEM textbooks and tutorials covering planets and symbols.

📋 Reference

Planet tables, infographics, and encyclopedic content.

🎨 Design

Logos, icons, and UI that need the Neptune (♆) character.

📊 Symbol maps

Character pickers and Unicode reference for planet symbols.

💡 Best Practices

Do

  • Use &#x2646; or &#9798; in HTML content
  • Use fonts that support Miscellaneous Symbols (U+2646)
  • Set <meta charset="utf-8">
  • Pick one numeric style per project
  • Add aria-label or nearby text (e.g. “Neptune”) for accessibility

Don’t

  • Expect a named HTML entity for U+2646
  • Use CSS \2646 inside HTML text nodes
  • Use padded Unicode notation like U+02646—the correct value is U+2646
  • Use \02646 in CSS—the correct escape is \2646
  • Rely on the glyph alone without accessible description

Key Takeaways

1

Two HTML numeric references plus CSS for U+2646

&#x2646; &#9798;
2

For CSS, use \2646 in the content property

3

Unicode U+2646 — NEPTUNE

4

Miscellaneous Symbols block; glyph

5

No named entity—use numeric codes or UTF-8 literal in source files

❓ Frequently Asked Questions

Use &#x2646; (hex), &#9798; (decimal), or \2646 in CSS content. There is no named entity. All methods render ♆ when the font supports U+2646.
U+2646 (NEPTUNE). Miscellaneous Symbols block (U+2600–U+26FF). Hex 2646, decimal 9798. Used in astronomy and astrology for the planet Neptune.
In astronomy and space content, astrology and horoscope sites, educational material about planets, planet reference lists, and any design or copy that requires the Neptune symbol (♆).
HTML references (&#9798; or &#x2646;) go in markup. The CSS escape \2646 is used in stylesheets, typically on ::before or ::after. Both render ♆.
Named entities cover common characters; Miscellaneous Symbols like U+2646 use numeric hex or decimal codes or CSS escapes. That is standard for planet and zodiac symbols.

Explore More HTML Entities!

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