HTML Entity Reference
Entities are codes for characters that are special in HTML or hard to type. They start with & and end with ;.
The big three you must know
| Entity | Shows | Why it matters |
|---|
< | < | Stops the browser thinking you wrote a tag. |
> | > | Same for the closing bracket. |
& | & | & starts every entity, so escape it! |
<p>2 < 3 and 5 > 4. Tom & Jerry.</p>
Punctuation and quotes
| Entity | Shows | Entity | Shows |
|---|
" | " | ' | ' |
| space (never breaks) |   | wide space |
  | extra wide space | § | § |
¶ | ¶ | · | · |
… | … | – | - |
— | - | « | « |
Currency symbols
| Entity | Shows | Entity | Shows |
|---|
© | © | ® | ® |
™ | ™ | € | € |
£ | £ | ¥ | ¥ |
¢ | ¢ | ¤ | ¤ |
Math symbols
| Entity | Shows | Entity | Shows |
|---|
∑ | ∑ | √ | √ |
∞ | ∞ | ± | ± |
− | − | × | × |
÷ | ÷ | = | = |
≠ | ≠ | ≤ | ≤ |
≥ | ≥ | ≈ | ≈ |
° | ° | ‰ | ‰ |
µ | µ | ¼ | ¼ |
Greek letters
| Entity | Shows | Entity | Shows |
|---|
α | α | β | β |
γ | γ | δ | δ |
θ | θ | λ | λ |
π | π | σ | σ |
φ | φ | ω | ω |
Δ | Δ | Ω | Ω |
Arrows
| Entity | Shows | Entity | Shows |
|---|
← | ← | → | → |
↑ | ↑ | ↓ | ↓ |
↔ | ↔ | ↵ | ↵ |
⇒ | ⇒ | ⇐ | ⇐ |
Card suits and bullets
| Entity | Shows | Entity | Shows |
|---|
♠ | ♠ | ♣ | ♣ |
♥ | ♥ | ♦ | ♦ |
• | • | ☆ | ⋆ |
Number entities
Every character also has a number code. A is the number 65, which is "A".
<p>A is A, B is B, 😀 is an emoji.</p>
How to use entities
Just type them in your HTML text:
<p>I ♥ HTML! © 2026 My Site</p>
TL;DR
- Entities start with
& and end with ;. - Always escape
<, >, and &: <, >, &. ©, €, π, → and friends type special symbols.- Number entities like
A use character numbers. - Use
to keep words together.