HTML entities are used to display special characters that can't be directly typed in HTML, such as <, >, or &.
Entities are the encoded forms of special characters. They usually start with an & and end with a semicolon, like & or <.
Here are some commonly used entities that every developer should know:
& → &< → <> → >" → "' → ' → (non‑breaking space)© → ©® → ®™ → ™§ → §• → •… → …— → —– → –· → ·« → «» → »‰ → ‰µ → µα → αβ → βγ → γπ → πω → ω♥ → ♥♠ → ♠♣ → ♣♦ → ♦™ → ™→ → →← → ←↑ → ↑↓ → ↓The examples below demonstrate how entities appear in text and why they’re necessary for certain characters.
html
<p>This & that</p>
<p>10 < 20 && 20 > 10</p>
<p>© 2025 All rights reserved.</p>Some characters have no names but can be inserted using numeric codes. These usually start with &# and end with ;.
Use HTML entities when a character conflicts with HTML syntax (e.g., <, >, &), or when displaying special symbols like currency or quotes.
✨ Ask Lara — your AI study partner
Unlock personalized learning support. Lara can explain lessons, summarize topics, and answer your study questions — available from the Go plan and above.
Lara helps you learn faster — exclusive to ReadyTools Go, Plus, and Max members.