HTML Entity Detail

HTML Entity - White Star

White Star is a miscellaneous symbols including stars, music notes, warnings, and cultural icons. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.

Symbol preview
Unicode

U+2606

HTML entity

☆

CSS code

\2606

Usage Examples

Use this HTML entity in ratings, alerts, music notation, and decorative UI elements. For example, ★ for star ratings, ♫ for music.

Common Mistakes

⚠️

Mistake: Using emoji instead of text symbols for consistent cross-platform rendering

Fix: Text symbols (★, ✓, ♫) render consistently as text in all browsers. Emoji (⭐, ✅, 🎵) may look different across platforms and operating systems.

⚠️

Mistake: Using symbols in a way that violates accessibility guidelines

Fix: Decorative symbols should have aria-hidden=true or empty alt text. Informational symbols should have text alternatives. A stand-alone ⚠ (warning sign) without context text is not accessible.

White Star

Select any code to highlight it before copying.

Category: Miscellaneous Symbols
Unicode U+2606
Hex Code ☆
HTML Code ☆
HTML Entity ☆
CSS Code \2606
Windows Shortcut
Mac Shortcut
HTML code example
CSS code example
Last updated: 21 Jun 2026