Entities in HTML
- In HTML, entities are used to display reserved characters.
- HTML entities start with (&) and end with a semicolon (;).
The main HTML Entities are:
Entity Name |
Description |
Result |
& | ampersand | & |
< | less than | < |
> | greater than | > |
| non-breaking space | |
£ | pound | £ |
© | copyright | © |
® | registered trademark | ® |
¢ | cent | ¢ |
' | single quotation mark (apostrophe) | ' |
¥ | yen | ¥ |
€ | euro | € |
≈ | almost equal to | ≈ |