What are HTML Entities?
HTML entities are codes used to display reserved characters in HTML. They start with an ampersand (&) and end with a semicolon (;).
Why Encode?
- Display special characters like <, >, & in web pages
- Prevent XSS (Cross-Site Scripting) attacks
- Show reserved HTML characters as text
- Display symbols not on your keyboard