Html Entity
From CSS Discuss
Hyper Text Markup Language is a Standard Generalized Markup Language application, much as XHTML is an XML application.
SGML (and also, HTML) includes a mechanism for including arbitrary character sequences in markup, even when the characters would otherwise break the SGML format. This technique is often called "escaping" the illegal characters.
For example, in HTML, the "<" character has special meaning, and placing that character in the content (that is, not part of markup) of an HTML document is invalid.
In this case, you can use an entity reference.
Each entity reference starts with "&" and ends with ";". Everything in between is parsed as part of the entity reference.
There are two types of entity references:
Numeric Entities
Numeric entities are machine-readable references to the Nth code position in a document's character set.
A numeric entity reference can look like any of these:
< < <
The references "<" and "<" are hex representations of the same reference, and are equivalent to decimal 60.
Character Entities
Because it's unwieldy to remember character code positions, HTML also offers character entity references.
An example of a character entity reference is:
<
All four of the above examples equate to "<".
It's worth noting that some entities aren't supported very well in some browsers.
Example:
Invalid: <a href="http://www.example.com/?page=This&That">This <and> That</a> Valid: <a href="http://www.example.com/?page=This&That">This <and> That</a>
Further reading:
