★ Special characters
Stars and hearts · U+2605
| Unicode | U+2605 (9733) |
|---|---|
| HTML entity | ★ |
| Named entity | ★ |
| CSS | content: "\2605" |
| JavaScript | "\u2605" |
| URL encoded | %E2%98%85 |
| UTF-8 size | 3 bytes |
| Category | Stars and hearts |
Stars, hearts and flowers. Common in ratings and for emphasis.
How to read this
- A Unicode code point is a name tag unique to each character. Different fonts, same number — still the same character.
- In HTML, the numeric form &#number; works everywhere. Named entities like ♥ read nicer but exist only for some characters.
- In CSS, use a backslash and hexadecimal: content: "\2764".
- If the character shows as a box, the copy did not fail — that font simply has no glyph for it. Another font will show it.
Frequently asked questions
Q. What is the Unicode code point of ★?
U+2605, which is 9733 in decimal. Stored as UTF-8 it takes 3 bytes.
Q. How do I write ★ in HTML?
Use ★ and every browser shows the same character. The named form ★ also works.
Q. How do I use ★ in CSS or JavaScript?
In CSS, content: "\2605". In JavaScript, "\u2605". In a URL it becomes %E2%98%85.
Q. What kind of character is ★?
It belongs to the stars and hearts group. The rest of that group is listed further down this page, ready to copy.