HTML Entity for Ankh (☥)

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

What You'll Learn

How to display the Ankh (, U+2625) in HTML. Unicode’s official name is ANKH; it is the ancient Egyptian hieroglyph often called the key of life or crux ansata, used in cultural, spiritual, and design contexts.

The character is in the Miscellaneous Symbols block. There is no standard short named HTML entity for U+2625; use ☥ or ☥, or UTF-8 with the literal character. In CSS content, use \2625 (or a space-terminated form such as \02625 when the next character is a hex digit).

⚡ Quick Reference — Ankh (☥)

Unicode U+2625

Miscellaneous Symbols

Hex Code ☥

Hexadecimal reference

HTML Code ☥

Decimal reference

Named Entity

No standard short name for U+2625 in HTML

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2625
Hex code       ☥
HTML code      ☥
Named entity   (none for U+2625)
CSS code       \2625
1

Complete HTML Example

This example shows U+2625 using hexadecimal, decimal HTML numeric references, and a CSS content escape (three lines of output, same glyph):

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2625";
  }
 </style>
</head>
<body>

<p>Ankh using Hexa Decimal: &#x2625;</p>
<p>Ankh using HTML Code: &#9765;</p>
<p id="point">Ankh using CSS Entity: </p>

</body>
</html>
Try It Yourself

🌐 Browser Support

Numeric references and CSS escapes for U+2625 are supported in all modern browsers. The Ankh appears in most system and web fonts that cover Miscellaneous Symbols:

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

👀 Live Preview

See U+2625 in short snippets:

Isolated glyph
With label Symbol: ☥ (Ankh)
Numeric refs Same character as &#x2625; or &#9765; in UTF-8 HTML.
Monospace U+2625 ANKH
Fonts If a font lacks U+2625, the browser may substitute from another font in the stack.

🧠 How It Works

1

Hexadecimal reference

&#x2625; selects Unicode code point 2625 in hexadecimal in HTML text.

HTML markup
2

Decimal reference

&#9765; is the decimal form 9765 for the same Ankh character.

HTML markup
3

CSS escape

\2625 in content on pseudo-elements emits U+2625 from a stylesheet.

CSS stylesheet
=

Same code point

All paths expose U+2625 (Miscellaneous Symbols). Official name: ANKH. Pair with visible or assistive text when the meaning matters.

Use Cases

The Ankh (U+2625) fits these kinds of content:

📚 History and culture

Museum sites, articles on ancient Egypt, and symbolism glossaries.

✨ Spiritual pages

Where the symbol is used with clear context and respectful tone.

🎨 Design and branding

Logos, decorative headings, and themed layouts (with license and meaning in mind).

💎 Jewelry and fashion

Product copy when the piece features the Ankh shape.

🎓 Education

Courses and quizzes on hieroglyphs, religion, or art history.

🌐 Multilingual sites

Cultural hubs where the glyph is recognized across languages.

♿ Accessibility

Add nearby text or aria-label so screen readers convey “Ankh” or “key of life,” not only an unlabeled symbol.

💡 Best Practices

Do

  • Use &#x2625; or &#9765; when you want a portable numeric reference in markup
  • Declare <meta charset="utf-8"> when mixing many symbols and UTF-8 literals
  • Explain meaning in body copy where the symbol carries religious or cultural weight
  • Use \2625 only in CSS content, not inside raw HTML text nodes
  • Pick fonts that include Miscellaneous Symbols for consistent cross-platform rendering

Don’t

  • Use the symbol as mere decoration without context on sensitive spiritual or cultural pages
  • Rely on a non-existent standard named entity for U+2625 in strict validation pipelines
  • Assume every visitor shares the same interpretation of the glyph
  • Omit alternative text when the Ankh is the primary interactive icon or link affordance
  • Confuse similar crosses or stars in Unicode; choose the exact code point you need

Key Takeaways

1

Two numeric references render U+2625

&#x2625; &#9765;
2

CSS content escape

\2625
3

Unicode U+2625 — ANKH

4

No standard short named entity for U+2625 in HTML

5

Miscellaneous Symbols; pair with text for accessibility and clarity

❓ Frequently Asked Questions

Use &#x2625; (hex) or &#9765; (decimal) in text, or paste the UTF-8 character. For CSS content, use \2625 (or a space-terminated escape if the next token is hex).
U+2625 (decimal 9765, hex 2625). Official name: ANKH. Block: Miscellaneous Symbols.
When the content genuinely discusses Egyptian culture, symbolism, or related themes, or when design briefs call for it—always with respectful context.
Markup uses &#9765; or &#x2625; in text nodes. CSS uses backslash hex escapes inside content rules. Same code point; different syntax layer.
There is no standard short named entity that targets U+2625. Use numeric references, UTF-8, or CSS escapes.

Explore More HTML Entities!

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