HTML Entity for Star David (✡)

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

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

Unicode U+2721

Dingbats

Hex Code ✡

Hexadecimal reference

HTML Code ✡

Decimal reference

Named Entity

Use numeric codes only

Reference Table
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)
1

Complete HTML Example

A simple example showing ✡ using hexadecimal code, decimal HTML code, and a CSS content escape (no named entity):

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2721";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2721; Star of David</p>
<p>Symbol (decimal): &#10017; Hexagram</p>
<p id="point">Symbol (CSS): Heritage </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

Star of David (✡) renders in modern browsers when fonts include Dingbats glyphs:

Chrome1+
Firefox1+
Safari3.1+
Edge12+
Opera4+
Android4.4+
iOS Safari3.2+

👀 Live Preview

See the Star of David symbol in cultural and themed contexts:

Single symbol
Heritage heading ✡ Jewish Heritage
Educational label ✡ History & Culture
Not the same as ✡ (Star of David)  |  ✶ (Six-Pointed Black Star)  |  ☪ (Star & Crescent)
Numeric refs &#x2721; &#10017; \2721

🧠 How It Works

1

Hexadecimal Code

&#x2721; references code point U+2721 using hex digits 2721.

HTML markup
2

Decimal HTML Code

&#10017; is the decimal equivalent (10017) for the same character.

HTML markup
3

CSS Entity

\2721 is the CSS escape for U+2721, used in the content property of pseudo-elements.

CSS stylesheet
=

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:

🌐 Cultural content

Websites and educational materials about Jewish heritage and traditions.

🕋 Religious sites

Community platforms, synagogue websites, and faith-based resources.

🎨 Decorative design

Logos, banners, and creative layouts with cultural symbolism.

📚 Educational sites

Courses and references teaching history, culture, and Unicode symbols.

🏛 Historical content

Museum sites, archives, and cultural heritage platforms.

💻 Themed UI

Section icons and labels in culturally themed web applications.

💡 Best Practices

Do

  • Use &#x2721; or &#10017; 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 \02721 with 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 \2721 in HTML text nodes

Key Takeaways

1

Three ways to render U+2721 in HTML and CSS

&#x2721; &#10017;
2

For CSS stylesheets, use \2721 in the content property

3

U+2721 — STAR OF DAVID (✡)

4

Distinct from Six Pointed Black Star ✶ and Star Crescent ☪

5

Previous: Star Crescent   Next: Star Equals

❓ Frequently Asked Questions

Use &#x2721; (hex), &#10017; (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.
No. ✡ (U+2721) is STAR OF DAVID. ✶ (U+2736) is SIX POINTED BLACK STAR, a decorative Dingbats character with named entity &sext;. They are separate Unicode code points with different glyphs.
For cultural and religious content, Jewish heritage sites, educational materials, historical content, decorative design, and themed UI where the hexagram symbol is appropriate and used respectfully.
Named HTML entities cover ASCII, Latin-1, and some common symbols. Dingbats characters like U+2721 use numeric hex or decimal references—standard practice for specialized Unicode blocks.

Explore More HTML Entities!

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