HTML – Entities

HTML character entities are used as a replacement of reserved characters in HTML. You can also replace characters that are not present on your keyboard by entities.

These characters are replaced because some characters are reserved in HTML. HTML entities provide a wide range of characters which can allow you to add icons, geometric shapes, mathematical operators, etc.

For example: if you use less than (<) or greater than (>) symbols in your text, the browser can mix them with tags that’s why character entities are used in HTML to display reserved characters.

The main benefits of Html entities are easy to use and remember also it replaces the characters which are not in the keyboard. Here we will discuss different types of entities and basic examples to illustrate the functionality.

Warning! Entity names are case sensitive.