![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML Entities
In HTML, some characters are reserved for syntax declaration. Using these characters in text might cause unwanted errors. For example, you cannot use the greater than and less than signs or angle brackets within your HTML text because the browser will treat them differently and will try to draw a meaning related to HTML tag.
NOTE − Entity names are case sensitive so should be used as they are.
Syntax
Following is the syntax:
&entity_name
Or
&#entity_number
Following are some of the useful entities:
Result | Description | Entity Name | Entity Number |
---|---|---|---|
< | less than | < | < |
> | greater than | > | > |
& | ampersand | & | & |
" | double quotation mark | " | " |
' | single quotation mark (apostrophe) | ' | $ |
£ | Pound | £ | £ |
¥ | Yen | ¥ | ¥ |
€ | Euro | € | € |
© | Copyright | © | © |
® | registered trademark | ® | ® |
Advertisements