Some characters can not be typed on a keyboard or can not be displayed properly (because of encoding problems).
These characters can be referenced by using special codes:
The code always begins with an ampersand (&) and ends with a semicolon (;).
There are three different ways to specify these characters:
-
You can use a mnemonic code; such as (©) for the copyright symbol (©).
-
You can use the character's decimal value; such as (©) for the copyright symbol (©).
-
You can use the character's hexadecimal value; such as (©) for the copyright symbol (©).
Note: if you use the decimal/hexadecimal method to specify an entity, you need to prefix the decimal/hexadecimal value with the "pound" character (#).
Some examples of valid entities:
-
[ ]: a non-breaking space or blank space.
-
[<]: the less-than symbol or left-angle bracket (<).
-
[>]: the greater-than symbol or right-angle bracket (>).
-
[&]: an ampersand (&).