HTML Entities

In this page, we will learn about HTML entities.
There are some reserved characters in HTML which are not displayed when they are written directly. They must be replaced by the character entities. Also, many characters like ©, ® are not available in the keyboard. Such characters must be replaced by entities either by entity name or entity number.

Reserved Characters

Result Notes Entity Name Entity Number
  Non Breaking Space    
< less than &lt; &#60;
> greater than &gt; &#62;
& ampersand &amp; &#38;
' apostrophe (single quotation mark) &apos; &#39;
" double quotation mark &quot; &#34;
© copyright &copy; &#169;
® registered trademark &reg; &#174;
euro &euro; &#8364;
¥ yen &yen; &#165;
£ pound &pound; &#163;

Combining Diacritical Marks

Accents like ̀ , ́ are attached to the letters to make combining Diacritical Marks. Diacritical Marks can appear either above and below a letter or between two letters.

Result Mark Character Entity Number
à ` a &#768;
á ´ a &#769;
â ˆ a &#770;
ã ˜ a &#771;

Non-breaking space

A non-breaking space is a space that will not break into a new line. It is defined by the HTML entity &nbsp;. Two words separated by a non-breaking space will not be separated into two lines; it would be in the same line. It is mostly useful when breaking the line have some annoys like
10   AM
100  m/s

More Symbols will be appeared in the next page. Click here to learn all the HTML Symbols, Characters and Entities.