HTML Entity for Star David (✡)

What You'll Learn
How to display Star of David (✡) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2721 (STAR OF DAVID) in the Dingbats block (U+2700–U+27BF)—a six-pointed star (hexagram) used in Jewish cultural and religious contexts.
Render it with ✡, ✡, or CSS \2721. There is no named HTML entity. Do not confuse ✡ with Six Pointed Black Star ✶ (U+2736) or Star Crescent ☪ (U+262A).
⚡ Quick Reference — Star David
U+2721Dingbats
✡Hexadecimal reference
✡Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+2721
Hex code ✡
HTML code ✡
Named entity (none)
CSS code \2721
Meaning Star of David (hexagram)
Not the same U+2736 = Six Pointed Black Star (✶)
U+262A = Star and Crescent (☪)
Block Dingbats (U+2700–U+27BF)Complete HTML Example
A simple example showing ✡ using hexadecimal code, decimal HTML code, and a CSS content escape (no named entity):
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\2721";
}
</style>
</head>
<body>
<p>Symbol (hex): ✡ Star of David</p>
<p>Symbol (decimal): ✡ Hexagram</p>
<p id="point">Symbol (CSS): Heritage </p>
</body>
</html>🌐 Browser Support
Star of David (✡) renders in modern browsers when fonts include Dingbats glyphs:
👀 Live Preview
See the Star of David symbol in cultural and themed contexts:
🧠 How It Works
Hexadecimal Code
✡ references code point U+2721 using hex digits 2721.
Decimal HTML Code
✡ is the decimal equivalent (10017) for the same character.
CSS Entity
\2721 is the CSS escape for U+2721, used in the content property of pseudo-elements.
Same visual result
All three methods produce ✡. Unicode U+2721 in Dingbats (U+2700–U+27BF). No named entity.
Use Cases
Star of David (✡) commonly appears in:
Websites and educational materials about Jewish heritage and traditions.
Community platforms, synagogue websites, and faith-based resources.
Logos, banners, and creative layouts with cultural symbolism.
Courses and references teaching history, culture, and Unicode symbols.
Museum sites, archives, and cultural heritage platforms.
Section icons and labels in culturally themed web applications.
💡 Best Practices
Do
- Use
✡or✡in HTML markup - Provide accessible text alongside the symbol in navigation or headings
- Use the symbol respectfully in appropriate cultural and religious contexts
- Pick hex or decimal style and stay consistent per project
- Test rendering with Dingbats-friendly fonts across devices
Don’t
- Use padded Unicode notation like U+02721—the correct value is
U+2721 - Use CSS
\02721with a leading zero—prefer\2721 - Confuse ✡ with Six Pointed Black Star ✶ (U+2736) or Star Crescent ☪ (U+262A)
- Use the symbol decoratively without considering its cultural and religious significance
- Put CSS escape
\2721in HTML text nodes
Key Takeaways
Three ways to render U+2721 in HTML and CSS
✡ ✡For CSS stylesheets, use \2721 in the content property
U+2721 — STAR OF DAVID (✡)
Distinct from Six Pointed Black Star ✶ and Star Crescent ☪
Previous: Star Crescent Next: Star Equals
❓ Frequently Asked Questions
✡ (hex), ✡ (decimal), or \2721 in CSS content. There is no named HTML entity. All three render ✡.U+2721 (STAR OF DAVID). Dingbats (U+2700–U+27BF). Hex 2721, decimal 10017.✶. They are separate Unicode code points with different glyphs.Explore More HTML Entities!
Discover 1500+ HTML character references — stars, symbols, and more.
8 people found this page helpful
