Designer at work

symbols (character entities)

HTML caters for a number of symbols which would be difficult to display in both Windows and MacIntosh operating systems.

The ampersand for example is displayed as: &
But to type it directly is not correct HTML - it may display correctly in a Windows operating system, but not in a MacIntosh. The correct way to type the ampersand is to use the characters &

There is a whole lot of these symbols, they all start with the ampersand (&) and end with the semi-colon. A few useful ones are listed here:

opening tag symbol or less than      &lt;      <
closing tag symbol or greater than   &gt;      >
double quote                         &quot;    "
non-breaking space (not displayable) &nbsp; 
copyright symbol                     &copy;    ©
registered trademark                 &reg;     ®
degree symbol                        &deg;     °
quarter fraction                     &frac14;  ¼
half fraction                        &frac12;  ½
three-quarters fraction              &frac34;  ¾
multiplication symbol                &times;   ×
division symbol                      &divide;  ÷
micro symbol                         &micro;   µ

There are also named entities for many language characters:

&eacute;      é
&aelig;       æ
&euml;        ë     
&Ccedil;      Ç