HTML symbol entities are characters that are not represented on a user’s keyboards. Many mathematical, scientific, and currency symbols
are not present on a normal keyboard; therefore, to add such symbols to a page using HTML, the HTML entity name can be used.
It is important to note that these will not effect the HTML code themselves, and will always be interpreted as text. For example, if we wanted to type
<div> as text on a webpage, we may need to use these symbol entities:
If no entity name exists, either the entity number or hexadecimal reference can be used.
|Result||Description||Entity Name||Entity Number|
|non-breaking space|| || |
If you want to show the entity name on a webpage like this:
Then you need to use an ampersand escape, like below:
This will display the entity name rather than the entity.