What Are HTML Entities?
HTML entities are special codes used to represent characters that have a reserved meaning in HTML, or characters that cannot easily be typed on a keyboard. They begin with an ampersand (&) and end with a semicolon (;). For example, the less-than sign < must be written as < in HTML to prevent it from being interpreted as the start of an HTML tag.
There are three forms of HTML entities: named entities like &, < and ©; decimal numeric entities like < (for <); and hexadecimal numeric entities like <. All three forms are supported by all modern browsers and produce identical output.