HTML Entity for Neptune (♆)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2646

What Is the Neptune Entity?

Neptune (♆) is the Miscellaneous Symbols character at Unicode U+2646 (NEPTUNE). The glyph is a stylized trident for the planet Neptune (and the Roman god). Used in astronomy and astrology. HTML5 defines no named entity for it.

Remember
Character     ♆
Unicode       U+2646
Named entity  (none)
Hex entity    ♆
Decimal       ♆
CSS escape    \2646

All of these produce the same glyph: ♆. Prefer a pasted ♆ in UTF-8 pages; use numeric or CSS forms when you need an escape.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character♆HTML text (UTF-8 default)
Named entitynoneNot defined in HTML5
Hex entity♆HTML markup
Decimal entity♆HTML markup
CSS escape\2646Stylesheet content

When to Use Which

SituationUse
UTF-8 astronomy / astrology textType or paste ♆
Numeric entity required♆ or ♆
Generated icon via ::before / ::aftercontent: "\2646"
Plain proseWrite the word Neptune
Looking for a named formNone — use hex or decimal instead

Live Preview

Neptune rendered in common contexts.

Glyph ♆
Large glyph ♆
In text ♆ Neptune
With entities Hex: ♆ | Decimal: ♆
Neighbor planets ♅ (Uranus) · ♆ (Neptune) · ♇ (Pluto)

Complete HTML Example

One page that shows Neptune with hex, decimal, direct, and CSS forms. Use View Output or open the live editor.

Hex + Decimal + Direct + CSS

Four ways to produce ♆ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Neptune (♆) in HTML</title>
  <style>
    #point::after {
      content: "\2646";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x2646;</p>
  <p>Using HTML Code: &#9798;</p>
  <p>Using Direct Character: ♆</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: ♆ Neptune</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2646 → &#x2646; in HTML. Reliable numeric form.

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

3. Direct: paste ♆ in a UTF-8 file with <meta charset="UTF-8">.

4. CSS: use \2646 in content (not an HTML entity). #point::after appends that ♆ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with the Neptune entity.

Named

No named entity

HTML5 has no &... name for U+2646 — use hex or decimal instead.

CSS vs HTML

Do not mix escapes

\2646 belongs in CSS. &#x2646; / &#9798; belong in HTML.

Neighbors

Not Uranus or Pluto

Uranus is U+2645; Pluto is U+2647. Neptune is U+2646.

Accessibility

Pair with text

Screen readers may not announce planet symbols clearly — add visible text (e.g. ♆ Neptune) or an accessible label when the meaning matters.

Semicolon

End references

Always finish with ; — write &#9798;, not &#9798.

UTF-8

Declare charset

If you paste ♆ directly, serve the page as UTF-8 with <meta charset="UTF-8">.

Browser Support

Neptune (U+2646) and its entity forms (&#x2646;, &#9798;, CSS \\2646) are supported in all mainstream browsers. Glyph availability depends on the font.

✓ Universal support

Neptune (&#x2646;)

Paste ♆, or encode with hex, decimal, or CSS escape — same glyph everywhere. No named entity.

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+2646 / entities Full support

Bottom line: Prefer a pasted ♆ in UTF-8 text. Use &#x2646; / &#9798; when a numeric form is required, and \\2646 only inside CSS content.

Key Takeaways

  • Unicode: Neptune is U+2646 (decimal 9798), Miscellaneous Symbols.
  • HTML: no named entity — use &#x2646; or &#9798;.
  • CSS: use \2646 inside content for generated text.
  • Use: astronomy / astrology — not the same as ♅ or ♇.

One line: U+2646 → &#x2646; / &#9798; / CSS \2646 (no named entity).

Frequently Asked Questions

Use &#x2646; (hex), &#9798; (decimal), type ♆ in UTF-8, or the CSS escape \2646 in content. There is no HTML5 named entity for U+2646.
U+2646 (NEPTUNE). Hex 2646, decimal 9798. It belongs to Miscellaneous Symbols and is used in astronomy and astrology.
No. HTML5 does not define a named entity for this character. Use numeric references like &#9798; or &#x2646; when you need an entity form.
Use it for astronomy charts, astrology content, planet lists, or CSS-generated icons. Prefer a pasted ♆ in UTF-8 when possible. Spell out “Neptune” in plain prose when a symbol is unnecessary.
HTML entities (&#9798; or &#x2646;) go in markup. The CSS escape \2646 is used in stylesheets (usually in the content property of ::before/::after). Both render ♆.
Uranus is U+2645 (♅). Pluto is U+2647 (♇). Neptune is U+2646 (♆). They are different code points — do not substitute one for another.

Did you know?

Neptune (♆) is Unicode U+2646 (decimal 9798) — NEPTUNE in Miscellaneous Symbols. HTML5 has no named entity — use &#x2646; or &#9798;. The glyph is a stylized trident (Poseidon/Neptune). Neighbor planet symbols include Uranus (♅, U+2645) and Pluto (♇, U+2647).

Next: Neuter

Learn the HTML entity for the neuter symbol — the next character in this entity sequence.

Neuter 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