Jan
5

0


HTML Character Entities

Character entities are used to display characters that are reserved for markup, or characters that will not display correctly in other languages. For example to display an ampersand we would use & or &.

The advantage of using an entity name instead of a number is that the name often is easier to remember. However, the disadvantage is that browsers may not support all entity names.

Browsers will only recognize and format 1 space between words regardless of how many you may actually type in your coded HTML. An entity exists for placing additional spaces (non-breaking space)   or  .

Take a few minutes to view the most common entities. Entities are case sensitive!

Result Description Entity Name Entity Number
  non-breaking space    
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
¢ cent &cent; &#162;
£ pound &pound; &#163;
¥ yen &yen; &#165;
euro &euro; &#8364;
§ section &sect; &#167;
© copyright &copy; &#169;
® registered trademark &reg; &#174;
trademark &trade; &#8482;
" quotes &quot; &#34;

Leave a Reply