HTML Entity for Wheel Dharma (☸)

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

What You'll Learn

How to display the Wheel of Dharma (☸) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2638 (WHEEL OF DHARMA, also called the dharma chakra) in the Miscellaneous Symbols block (U+2600–U+26FF)—a Buddhist symbol used in religious, cultural, and spiritual web content.

Render it with ☸, ☸, or CSS escape \2638. There is no named HTML entity. Do not confuse ☸ with yin yang ☯ (U+262F) or other religious symbols in the same block.

⚡ Quick Reference — Wheel Dharma

Unicode U+2638

Miscellaneous Symbols block

Hex Code ☸

Hexadecimal reference

HTML Code ☸

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2638
Hex code       ☸
HTML code      ☸
Named entity   (none)
CSS code       \2638
Meaning        Wheel of Dharma (dharma chakra)
Related        U+262F = ☯ (yin yang)
               U+2670 = ♰ (West Syriac Cross)
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing the Wheel of Dharma (☸) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2638";
  }
 </style>
</head>
<body>
<p>Wheel Dharma (hex): &#x2638;</p>
<p>Wheel Dharma (decimal): &#9784;</p>
<p id="point">Wheel Dharma (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

U+2638 is supported in modern browsers when rendered with a font that includes Miscellaneous Symbols:

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

👀 Live Preview

See the Wheel of Dharma (☸) in spiritual and cultural contexts:

Large glyph
Buddhist page☸ Dharma teachings
Meditation☸ Mindfulness & practice
Not the same as☯ (U+262F, yin yang)
Numeric refs&#x2638; &#9784; \2638

🧠 How It Works

1

Hexadecimal Code

&#x2638; uses the Unicode hexadecimal value 2638 to display the Wheel of Dharma. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#9784; uses the decimal Unicode value 9784 to display the same character. A common method for religious symbols in HTML.

HTML markup
3

CSS Entity

\2638 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+2638 sits in Miscellaneous Symbols. Not the same as ☯ (yin yang).

Use Cases

The Wheel of Dharma (☸) is commonly used in:

☯ Religious content

Buddhist websites, religious content, and spiritual pages.

🌐 Cultural content

Educational material about Buddhism and Eastern philosophy.

✨ Spiritual web content

Spiritual blogs, meditation sites, and mindfulness content.

🏰 Buddhist websites

Temple sites, Buddhist organizations, and educational content.

🎓 Educational content

History lessons and instructional content about religious symbols.

🎨 Creative projects

Artistic content and design showcases with spiritual themes.

📖 Symbolic representation

Philosophical discussions and spiritual guidance content.

💡 Best Practices

Do

  • Pair ☸ with accessible text or aria-label for screen readers
  • Use numeric references when escaping is required
  • Pick one style (hex or decimal) per project for consistency
  • Use fonts that support Miscellaneous Symbols characters
  • Provide cultural and religious context when using the symbol

Don’t

  • Confuse ☸ (Wheel of Dharma) with ☯ (yin yang)
  • Mix entity styles randomly in one file
  • Use CSS escape \2638 inside HTML markup
  • Expect a named HTML entity—none exists for ☸
  • Use the symbol without context in mixed religious content

Key Takeaways

1

Type ☸ directly, or use hex/decimal references

&#x2638; &#9784;
2

For CSS stylesheets, use the escape in the content property

\2638
3

Unicode U+2638 — WHEEL OF DHARMA (Miscellaneous Symbols)

4

Not the same as ☯ (yin yang, U+262F)

❓ Frequently Asked Questions

Use &#x2638; (hex), &#9784; (decimal), or \2638 in CSS content. There is no named HTML entity. In UTF-8 you can also type ☸ directly.
U+2638 (WHEEL OF DHARMA). Miscellaneous Symbols block. Hex 2638, decimal 9784. Also known as the dharma chakra.
In Buddhist and religious websites, cultural and educational content, spiritual and mindfulness sites, meditation and philosophy content, and any web content using Buddhist or spiritual symbolism.
HTML entities (&#9784; or &#x2638;) go directly in markup. The CSS escape \2638 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. Use &#9784; or &#x2638; in HTML, or \2638 in CSS.

Explore More HTML Entities!

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