HTML Entity for Farsi Symbol (☫)

What You'll Learn
How to display the Farsi Symbol (☫) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+262B (FARSI SYMBOL) in the Miscellaneous Symbols block (U+2600–U+26FF)—used in Persian/Farsi cultural and religious context on websites, multilingual content, and culturally relevant design.
Render it with ☫, ☫, or CSS escape \262B. There is no named HTML entity. Do not confuse ☫ with the star and crescent (☪, U+262A) or the Arabic letter mark.
⚡ Quick Reference — Farsi Symbol
U+262BMiscellaneous Symbols
☫Hexadecimal reference
☫Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+262B
Hex code ☫
HTML code ☫
Named entity (none)
CSS code \262B
Meaning Farsi / Persian cultural symbol
Related U+262A = Star and crescent (☪); U+262C = Adi shakti (☬)Complete HTML Example
This example demonstrates the Farsi Symbol (☫) using hexadecimal code, decimal HTML code, and a CSS content escape. There is no named HTML entity for this symbol:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\262B";
}
</style>
</head>
<body>
<p>Farsi Symbol using Hexadecimal: ☫</p>
<p>Farsi Symbol using HTML Code: ☫</p>
<p id="point">Farsi Symbol using CSS Entity: </p>
</body>
</html>🌐 Browser Support
The Farsi Symbol entity is universally supported in modern browsers when a font with symbol coverage is available:
👀 Live Preview
See the Farsi symbol (☫) in cultural context and compared with the star and crescent (☪):
🧠 How It Works
Hexadecimal Code
☫ uses the Unicode hexadecimal value 262B to display the Farsi Symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
☫ uses the decimal Unicode value 9771 to display the same character.
CSS Entity
\262B is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All three methods produce the glyph: ☫. Unicode U+262B in the Miscellaneous Symbols block (U+2600–U+26FF). No named HTML entity—use numeric codes in markup. Serve HTML as UTF-8.
Use Cases
The Farsi Symbol (☫) commonly appears in:
Display on Persian-language sites, news portals, and cultural pages.
Use in pages that include Persian/Farsi alongside other languages.
Include in cultural, religious, or community websites where the symbol is meaningful.
Language-learning apps, textbooks, and content about Persian culture.
Ceremonial or formal documents that use this symbol.
Support Persian/Farsi locale and cultural symbols in internationalized applications.
💡 Best Practices
Do
- Use
☫or☫for readable symbol markup - Add
aria-label(e.g. “Farsi symbol”) for accessibility - Use
dir="rtl"and UTF-8 when pairing with Persian/Farsi text - Use the symbol in appropriate cultural context with respect for its meaning
- Serve pages with UTF-8 (
<meta charset="utf-8">)
Don’t
- Confuse ☫ (Farsi symbol) with ☪ (star and crescent)
- Expect a named entity—none exists for U+262B
- Put CSS escape
\262Bin HTML text nodes - Assume every font renders ☫ clearly at small sizes
- Mix entity styles randomly in one file
Key Takeaways
Two HTML numeric references plus CSS render ☫
☫ ☫For CSS stylesheets, use the escape in the content property
\262BUnicode U+262B — FARSI SYMBOL
Part of the Miscellaneous Symbols block (U+2600–U+26FF)
Three methods, no named HTML entity
❓ Frequently Asked Questions
☫ (hex), ☫ (decimal), or \262B in CSS content. There is no named entity.U+262B (FARSI SYMBOL). Miscellaneous Symbols block (U+2600–U+26FF). Hex 262B, decimal 9771. Used in Persian and cultural context.☫ or ☫ in markup, or \262B in CSS.☫ or ☫) go in markup. The CSS escape \262B is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.Explore More HTML Entities!
Discover 1500+ HTML character references — cultural symbols, multilingual content, and more.
8 people found this page helpful
