HTML Entities
- HTML entities are special character codes used to represent reserved characters and symbols in HTML.
- If you use < or> sign so may be borwser will treat them as aa tag.
- These entities are used to ensure proper rendering.
- HTML entities start with an “&” and ends with a semicolon “;”
No Need to worry. Itni saari entities kisi ko yaad nahi hoti. Whenever you want to use just google it ๐๐๐.
Example:
Output:
Here is register mark ยฎ
๐ Try it yourself! Click the button below to run the code and see the output in action.
HTML Code
Output
Commonly Used HTML Entities in Special Characters
| Entity | Description | Code |
|---|---|---|
| < | less-than sign | < |
| > | greater-than sign | > |
| & | ampersand | & |
| " | double quotation mark | " |
| ' | single quotation mark | ' |
| non-breaking space |   | |
| © | copyright symbol | © |
| ® | registered trademark | ® |
| ™ | trademark symbol | ™ |
| ° | degree symbol | ° |
| µ | micro symbol | µ |
| £ | pound sterling | £ |
| € | euro symbol | € |
| ¥ | yen symbol | ¥ |
| ¢ | cent symbol | ¢ |
| $ | dollar sign | $ |
| ✓ | checkmark symbol | ✓ |
| ✗ | cross mark symbol | ✗ |
| § | section symbol | § |
| ¶ | paragraph symbol | ¶ |
Important Note: Want to download the full HTML course as a PDF? Click here to save it locally!