Some characters have a special meaning in HTML. To show them as text, use entities.
| Character | Entity | Description |
|---|---|---|
< |
< |
less than |
> |
> |
greater than |
& |
& |
ampersand |
" |
" |
double quote |
| (space) | |
non-breaking space |
| © | © |
copyright |
| ₹ | ₹ |
Indian rupee |
| → | → |
right arrow |
With
<meta charset="UTF-8">you can also type symbols like ₹ and © directly.
Example
Example — Showing code and symbols
HTML
<p>To make a paragraph, write <p>text</p>.</p>
<p>Fish & Chips</p>
<p>Price: ₹499 → Buy now</p>
<p>© 2026 AgyanAdda</p>