HTML Entity for Wheel Dharma (☸)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2638

What Is Wheel Dharma?

Wheel of Dharma (☸) is the Unicode character at U+2638 (WHEEL OF DHARMA) in Miscellaneous Symbols. HTML5 has no named entity — use hex or decimal. Use it for Buddhist symbolism (Dharma Chakra) and related religious or cultural content.

Remember
Character     ☸
Unicode       U+2638
Named entity  (none)
Hex entity    ☸
Decimal       ☸
CSS escape    \2638
Not the same  ☯ (Yin Yang) · ☮ (Peace) · ♰ (West Syriac)

Hex, decimal, CSS, and a typed character all produce the same glyph: ☸. Prefer ☸ or ☸ in HTML markup. For Yin Yang see Yin Yang; for Peace see Peace Symbol.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entityNoneUse numeric or type the character
Hex entity☸HTML markup (preferred)
Decimal entity☸HTML markup
CSS escape\2638Stylesheet content (4 hex digits)
Direct character☸UTF-8 HTML text

When to Use Which

SituationUse
Wheel of Dharma / Dharma Chakra☸ or type ☸
Numeric-only markup☸ or ☸
Generated text via ::before / ::aftercontent: "\2638"
Yin Yang (☯)Use ☯ (U+262F)
Peace symbol (☮)Use ☮ (U+262E)

Live Preview

☸ in context and beside related symbols.

Example ☸ Dharma Chakra
Large glyph ☸
Hex entity ☸ → ☸
vs look-alikes ☸  |  ☯  |  ☮  |  ♰
With entities Hex: ☸ | Decimal: ☸

Complete HTML Example

One page that shows Wheel of Dharma with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to display ☸ in HTML and CSS. No named entity exists.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Wheel of Dharma (☸)</title>
  <style>
    #point::after {
      content: "\2638";
    }
  </style>
</head>
<body>
  <p>Built with Hex: &#x2638;</p>
  <p>Built with Decimal: &#9784;</p>
  <p id="point">Built with CSS: </p>
  <p>Typed: ☸</p>
  <p>Label: Symbol &#x2638;</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex / decimal: U+2638 → &#x2638; or &#9784;. The browser turns either into ☸.

2. Typed: in a UTF-8 document you can paste ☸ directly — same glyph, no entity.

3. CSS: use \2638 in content (four hex digits; not an HTML entity). #point::after appends that ☸ after the paragraph text.

4. Look-alikes: Yin Yang is ☯ (U+262F); Peace is ☮ (U+262E) — different characters.

Pitfalls & Tips

Common mistakes when working with Wheel of Dharma.

Named

There is no named entity

HTML5 does not define a name for U+2638. Use &#x2638; or &#9784;.

vs Yin Yang

Not Yin Yang

U+262F (☯) is a different symbol. See Yin Yang.

vs Peace

Not the Peace symbol

U+262E (☮) is a different character. See Peace Symbol.

Fonts

Need Miscellaneous Symbols coverage

Some fonts omit U+2638. Prefer fonts that cover Miscellaneous Symbols (U+2600–U+26FF).

CSS vs HTML

Do not mix escapes

\2638 belongs in CSS strings. &#x2638; / &#9784; belong in HTML.

Encoding

Declare UTF-8

If you type ☸ directly, keep <meta charset="UTF-8"> so the file is not misread.

Browser Support

Wheel of Dharma (U+2638) and its entity forms (&#x2638;, &#9784;, CSS \\2638) are supported in all mainstream browsers when the page is UTF-8 and the font covers Miscellaneous Symbols.

✓ Universal support

Wheel of Dharma (&#x2638;)

Encode with hex, decimal, CSS escape, or type the character — same Unicode code point 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 IE 9+
Yes*
U+2638 Full support

Bottom line: Prefer &#x2638; in HTML text. Use &#9784; as an equivalent, and \\2638 only inside CSS content. Glyph display depends on font coverage.

Key Takeaways

  • Unicode: this symbol is U+2638 (decimal 9784) — glyph ☸.
  • HTML: prefer &#x2638; — also &#9784;. No named entity.
  • CSS: use \2638 inside content for generated text.
  • Watch out: ☸ ≠ ☯ ≠ ☮.

One line: U+2638 → &#x2638; / &#9784; / CSS \2638 (no named entity).

Frequently Asked Questions

Use &#x2638; (hex), &#9784; (decimal), type ☸ directly in UTF-8, or the CSS escape \2638 in the content property. There is no named HTML entity. Prefer &#x2638; for readable markup.
U+2638 (WHEEL OF DHARMA). Hex 2638, decimal 9784. It belongs to the Miscellaneous Symbols block (U+2600–U+26FF).
No. HTML5 does not define a named form. Use numeric references &#x2638; or &#9784;, or type ☸ in UTF-8.
U+2638 is the Wheel of Dharma (☸). U+262F is Yin Yang (☯). U+262E is the Peace symbol (☮). They are different religious or cultural marks.
Use it for Buddhist symbolism, Dharma Chakra references, and related religious or cultural content. Prefer Yin Yang or Peace when those symbols are the intended meaning.
HTML entities (&#9784; or &#x2638;) go in markup. The CSS escape \2638 is used in stylesheets (usually in the content property of ::before/::after). Prefer four hex digits in CSS.

Did you know?

Wheel of Dharma is Unicode U+2638 (decimal 9784) — glyph ☸ (WHEEL OF DHARMA) in Miscellaneous Symbols. HTML5 has no named entity — use &#x2638; or &#9784;. Also called the Dharma Chakra; do not confuse it with Yin Yang U+262F (☯) or Peace symbol U+262E (☮).

Next: White Chess Bishop

Continue with the White Chess Bishop entity tutorial.

Continue 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