HTML Entities
Common HTML entities and their codes.
HTML entities let you display reserved or special characters safely. Reserved characters like < and & must be encoded so browsers don't treat them as markup.
Reserved characters
| Character | Named | Numeric |
|---|---|---|
| < | < | < |
| > | > | > |
| & | & | & |
| " | " | " |
| ' | ' | ' |
Punctuation & spacing
| Character | Named | Numeric |
|---|---|---|
| (non-breaking space) | |   |
| – | – | – |
| — | — | — |
| … | … | … |
| “ ” | “ ” | “ ” |
| ‘ ’ | ‘ ’ | ‘ ’ |
Symbols
| Character | Named | Numeric |
|---|---|---|
| © | © | © |
| ® | ® | ® |
| ™ | ™ | ™ |
| € | € | € |
| £ | £ | £ |
| ° | ° | ° |
| × | × | × |
| ÷ | ÷ | ÷ |
Arrows
| Character | Named | Numeric |
|---|---|---|
| ← | ← | ← |
| → | → | → |
| ↑ | ↑ | ↑ |
| ↓ | ↓ | ↓ |
FAQ
Always encode <, > and & in content, and quotes inside attribute values. Other symbols are optional if your page is UTF-8, but entities guarantee correct display.
Named entities are more readable (©), numeric ones (©) always work even for characters without a name. Both are valid.
Last reviewed 2026-08-20.