Special HTML Characters
Have you ever tried to print an character such as a < only to have your browser mistake it for an opening statement and ruin the display of your code? Well there is a way around this. Certain ASCII characters require their actual browser code in order to display correctly. Each code begins with a "&", ends with a ";" and the characters special code in the middle. Below are some common examples:
& - &
< - <
> - >
" - "
Space -
There are also special codes for a number of other important items such as the copyright logo, or a degrees sign. Here are a few more key symbols.
Copyright - ©
Trademark - ®
Plus/Minus - ±
Degrees - °
Cents - ¢
1/4 - ¼
1/2 - ½
3/4 - ¾