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 | < | < |
| > | greater than | > | > |
| & | ampersand | & | & |
| ' | apostrophe (single quotation mark) | ' | ' |
| " | double quotation mark | " | " |
| © | copyright | © | © |
| ® | registered trademark | ® | ® |
| € | euro | € | € |
| ¥ | yen | ¥ | ¥ |
| £ | pound | £ | £ |
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 | ̀ |
| á | ´ | a | ́ |
| â | ˆ | a | ̂ |
| ã | ˜ | a | ̃ |
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 .
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.
