HTML entity references (character codes) for ISO 8859-1 characters
To facilitate insertion of special characters, HTML 4 provided symbolic names for characters that are not easily accessible via the keyboard. In HTML4 these symbolic names are called "Character entity references". Special characters can be inserted by typing
- Ampersand sign (&) + Character entity name + semicolon (;) OR
- &#entity_number; wherein the entity_number is the decimal Unicode of the character
Remembering the symbol names may be easier than remembering the entity number for special characters. For example, the code for printing the sign for micro (µ) is µ
Alternatively, you could insert this character by typing its code as follows: µ This yields µ
The tables below provide the codes for the following special characters.
- ISO 8859-1 characters
- Greek letters
- Arrow symbols
- Math operators
- Miscellaneous symbols
- Punctuation symbols
- Smiley emojis