What are HTML entities?

There are some reserved keywords in HTML and they have special meaning to it when used in HTML documents. For example, we cannot use the greater than (<) and less than (>) signs or angle brackets within your HTML text because the browser will treat them differently and will try to draw a meaning related to the HTML tag.

So, the HTML Character entities are used to display reserved characters in HTML.

For Example:

Syntax: For using entities…

&entity_name;

OR

&#entity_number;

&nbsp;

(Used for Non-Breaking space in HTML)