HTML Entity for White Four Pointed Star (✧)

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

What You'll Learn

How to display the White Four Pointed Star symbol (✧) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2727 (WHITE FOUR POINTED STAR) in the Dingbats block (U+2700–U+27BF)—an outline four-pointed diamond-shaped star.

Render it with ✧, ✧, or CSS escape \2727. There is no named HTML entity. Do not confuse ✧ with ✦ (black four pointed star) or ☆ (white star, U+2606).

⚡ Quick Reference — White Four Pointed Star

Unicode U+2727

Dingbats

Hex Code ✧

Hexadecimal reference

HTML Code ✧

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2727
Hex code       ✧
HTML code      ✧
Named entity   (none)
CSS code       \2727
Meaning        White four pointed star
Related        U+2726 = ✦ (black four pointed star)
               U+2606 = ☆ (white star)
               U+2605 = ★ (black star)
Block          Dingbats (U+2700–U+27BF)
1

Complete HTML Example

A simple example showing White Four Pointed Star (✧) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #star:after{
   content: "\2727";
  }
 </style>
</head>
<body>
<p>White Four Pointed Star (hex): &#x2727;</p>
<p>White Four Pointed Star (decimal): &#10023;</p>
<p id="star">White Four Pointed Star (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

U+2727 is supported in modern browsers when the font includes Dingbats glyphs:

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

👀 Live Preview

See White Four Pointed Star (✧) in context:

Large glyph
Rating row✧ ✧ ✧ ✧ ✦
Star pair✦ ✧
Not the same as☆ (U+2606, white star)  |  ★ (U+2605, black star)
Numeric refs&#x2727; &#10023; \2727

🧠 How It Works

1

Hexadecimal Code

&#x2727; uses the Unicode hexadecimal value 2727 to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#10023; uses the decimal Unicode value 10023 to display the same character. A common method for symbol characters in HTML.

HTML markup
3

CSS Entity

\2727 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+2727 is the white four pointed star in Dingbats. Not the same as ✦ (black four pointed star) or ☆ (white star).

Use Cases

White Four Pointed Star (✧) is commonly used in:

✨ Decorative Elements

Headers, footers, and design accents with star ornamentation.

⭐ Rating Systems

Review displays, quality indicators, and score visualizations.

🎨 Visual Accents

Graphic design, logos, and creative content needing star imagery.

📣 Highlighting Content

Featured sections, special offers, and emphasized information.

🖥 UI Design

Web design, interface components, and decorative bullets.

🎨 Creative Projects

Artistic content, portfolios, and design showcases.

♿ Accessibility

Pair ✧ with visible text or aria-label; do not rely on the glyph alone for ratings.

💡 Best Practices

Do

  • Use ✧ for an outline four-pointed star; use ✦ for the filled black variant
  • Pair star glyphs with accessible text like “4 stars” or aria-label for ratings
  • Pick one numeric style (hex or decimal) per project for consistency
  • Use fonts that support Dingbats characters
  • Test rendering across browsers and devices

Don’t

  • Confuse ✧ (white four pointed star) with ✦ (black four pointed star) or ☆ (white star)
  • Use star glyphs as the only rating indicator without a numeric score
  • Mix entity styles randomly in one file
  • Use CSS escape \2727 inside HTML markup
  • Expect a named HTML entity—none exists for ✧

Key Takeaways

1

Type ✧ directly, or use hex/decimal references

&#x2727; &#10023;
2

For CSS stylesheets, use the escape in the content property

\2727
3

Unicode U+2727 — WHITE FOUR POINTED STAR (Dingbats)

4

U+2726/U+2727 are black/white four-pointed star pairs in Dingbats

❓ Frequently Asked Questions

Use &#x2727; (hex), &#10023; (decimal), or \2727 in CSS content. There is no named HTML entity. In UTF-8 you can also type ✧ directly.
U+2727 (WHITE FOUR POINTED STAR). Dingbats block U+2700–U+27BF. Hex 2727, decimal 10023.
For decorative elements, rating systems, design accents, highlighting featured content, and visual embellishments.
HTML entities (&#10023; or &#x2727;) go directly in markup. The CSS escape \2727 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. Dingbats like ✧ use numeric codes. Use &#10023; or &#x2727; in HTML, or \2727 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