1. Why HTML Entities?
In HTML, certain characters are reserved for code syntax (such as <, >, and &). If you write them directly in text, the browser mistakes them for markup tags. An HTML Entity is a code string that displays reserved or invisible characters safely on screen.
2. Common HTML Character Entities
| Character | Description | Entity Name | Entity Number |
|---|---|---|---|
| < | Less than | < |
< |
| > | Greater than | > |
> |
| & | Ampersand | & |
& |
| " | Double quote | " |
" |
| © | Copyright symbol | © |
© |
| Non-breaking space | |
|
|
| ₹ | Indian Rupee Symbol | N/A | ₹ |
If x < 10 && y > 5, then display the question palette.
Course Fee: ₹999 © 2026 Online CBT