Entity Name and Entity Number in HTML
In this article we describe Entity Name and Entity Number in HTML.
Introduction
In any language some characters are reserved. Some characters are also reserved in HTML which have the same special meaning. These characters are used in HTML with the help of character entities.
we can use reserved characters in two forms
1 Entity Name
2 Entity Number
Explanation of Character Entities
We can not use the greater than (>) or less than(<) sign in HTML coding because the greater than (>) or less than(<) sign will mix with the Tag. We can use these characters in the form of entity name and entity number.
We can display the less than (<) character by
Entity name - <
Entity number - <
Entity name is case sensitive
Some useful Character Entities in HTML
Characters |
Description |
Entity Name |
Entity Number |
> |
greater-than |
> |
> |
< |
less-than |
< |
< |
& |
ampersand |
& |
& |
" |
quotation mark |
" |
" |
' |
apostrophe |
' |
' |