HTML Entities


Entites

Few characters are reversed in HTML like < > These symbols we cannot use with our HTML text because browser could not understand properly

To Display these character we use Entity of that character

Common HTML Entities

Result Description Entity Name Numerical reference
  non-breaking space &nbsp; &#160;
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
" quotation mark &quot; &#34;
' apostrophe &apos; &#39;
¢ cent &cent; &#162;
£ pound &pound; &#163;
© copyright &copy; &#169;
® registered trademark &reg; &#174;
trademark &trade; &#8482;