Star Symbol (★)
HTML entity for the star symbol (★). Learn how to use ★ or ★ in HTML for ratings, favorites, and decorative elements.
Misc
★
Star Symbol
All Formats
| Format | Value |
|---|---|
| Character | ★ |
| HTML Entity | ★ |
| HTML Code (Decimal) | ★ |
| Unicode | U+2605 |
| CSS Content | \2605 |
| Category | Misc |
About Star Symbol
The star symbol (★) is a filled five-pointed star commonly used for ratings, reviews, bookmarks, featured content indicators, and decorative elements in web design. It is one of the most recognized visual metaphors on the web.
In HTML, insert the star using ★ or ★. There is no widely used named entity for this character. For an outline star, use ☆ (☆). Rating systems commonly combine filled stars (★) and outline stars (☆) to display scores.
The star symbol is part of the Miscellaneous Symbols Unicode block. It renders as a solid black five-pointed star in most fonts. The star should be distinguished from the asterisk (*), which is a smaller, six-pointed character typically used for footnotes and wildcard patterns.
In CSS, use "\2605" with the content property for pseudo-element insertion. A common rating widget implementation uses filled and empty stars: .star-filled::before { content: "\2605"; color: gold; } and .star-empty::before { content: "\2606"; }. For accessibility, always include an aria-label with the numeric rating value.
Usage Examples
<!-- Using named entity -->
<p>This is the Star Symbol: ★</p>
<!-- Using numeric code -->
<p>This is the Star Symbol: ★</p>
<!-- Using the character directly (UTF-8) -->
<p>This is the Star Symbol: ★</p>
<!-- In CSS -->
.icon::before {
content: "\2605";
}FAQ
What is the HTML entity for Star Symbol?
The Star Symbol (★) can be inserted using the named entity ★, the numeric code ★, or by pasting the character directly in a UTF-8 document.
How do I use ★ in CSS?
In CSS, use the content property with the value "\2605". For example: content: "\2605";
What is the Unicode code point for Star Symbol?
The Unicode code point for Star Symbol is U+2605. This is the universal identifier for this character across all platforms and programming languages.
Try It in the HTML Entity Tool
Use our HTML Entity Encoder & Decoder to encode and decode HTML entities, convert between named, numeric, and hex formats, and explore the full entity reference table.