HTML entities are escape sequences starting with & and ending with ; that represent reserved characters (< > & " ') and special symbols (© ® € etc.) in HTML. They prevent browsers from interpreting markup as code, which is critical for displaying user-generated content safely and avoiding XSS. Numeric entities (A or A) also exist for any Unicode code point.
HTML entities are special codes used to represent characters that have a reserved meaning in HTML or characters that are not easily typed from a keyboard. They ensure that these characters display correctly in a web page.
They start with an ampersand (&) and end with a semicolon (;).
Some represent reserved HTML characters, like <, >, &, which otherwise would be interpreted as HTML tags or syntax.
Others represent special symbols, accented letters, or Unicode characters.
< → < (less than)
> → > (greater than)
& → & (ampersand)
" → " (double quote)
' → ' (single quote)
→ non-breaking space
In short: HTML entities allow you to safely display reserved characters, special symbols, or accented letters in your web pages.
0-2 years experience
2-5 years experience
5-8 years experience
8+ years experience