HTML Tutorial - HTML Entities
Some of the characters are reserved in HTML and XHTML.
The usage of less than (<) and greater than (>) can not be used in html, since the browser will mistake them for html Tags.
For using the less than (<) need to use laternative HTML Entity Name "<" or HTML Entity Number "<".
For using the greater than (>) need to use laternative HTML Entity Name ">" or HTML Entity Number ">".
For putting space in html we need to use the HTML Entity Name " " or HTML Entity Number " ".
How many ever we use space character the browser will take only one space, need to use HTML Entity.
HTML Entity Name and Entity Number
|
non-breaking space |
|
  |
< |
less than |
< |
< |
> |
greater than |
> |
> |
& |
ampersand |
& |
& |
¢ |
cent |
¢ |
¢ |
£ |
pound |
£ |
£ |
¥ |
yen |
¥ |
¥ |
€ |
euro |
€ |
€ |
§ |
section |
§ |
§ |
© |
copyright |
© |
© |
® |
registered trademark |
® |
® |
™ |
trademark |
™ |
™ |