-
Character entities not to be confused with markup
Some characters would just confuse the browser with the markup language, things like the greater than sign.
So there are special codes for these entities. These entities can be referred to by a unique name using the ampersand character “&” and then putting the name for the entity.
e.g. ©
will appear as ©
These entities also have numbers which can be introduced by also adding a # to the sequence (interestingly my blog is using the names of these symbols to add them into my screen while I type) - the copyright symbol’s number is 160, so it would be written  
Here are some useful ones:
  - the crackingly useful non breaking space
&euro - or insert currency type here
Posted on April 22, 2009
blog comments powered by Disqus