HTML Tutorial – Entity

Example of HTML Entities For ©.

© or ©

What is HTML Entity

Entities are used to implement reserved characters or to express characters that cannot easily be entered with the keyboard. The HTML Symbol Entities include mathematical symbols, Greek characters, various arrows, technical symbols and shapes.

Entity Name vs Entity Number

You can use entity name or entity number to display a reserved HTML character. There is not clear guidance as to which one should be used. For code maintainability, I recommend names over numbers. Names are more meaningful, self-explanatory, intuitive than numbers.

List Of Some Common HTML Character Entities

Result Description Entity Name Entity Number
non-breaking space    
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
double quotation mark &quot; &#34;
single quotation mark (apostrophe) &apos; &#39;
© copyright &copy; &#169;
® registered trademark &reg; &#174;

It is worth noting that Entity Names are case sensitive.