Entities in HTML are described as:
There are two ways of referring to a specific character: by an assigned
numeric value numeric entity
or using
a predefined abbreviated name for the character (called a named entity)
. All character references begin with an
“&”
and end with a “;”
Syntax of mostly used Entities
Character | Description | Name | Number |
---|---|---|---|
Character space (nonbreakingspace) |   |
  |
|
& | Ampersand | & |
& |
' | Apostrophe | ' |
' |
< | Less-than symbol | < |
< |
> | Greater-than symbol | > |
> |
© | Copyright | © |
© |
® | Registered trademark | ® |
® |
™ | Trademark | ™ |
™ |
£ | Pound | £ |
£ |
¥ | Yen | ¥ |
¥ |
€ | Euro | € |
€ |
– | En-dash | – |
– |
— | Em-dash | — |
— |
‘ | Left curly single quote | ‘ |
‘ |
’ | Right curly single quote | ’ |
’ |
“ | Left curly double quote | “ |
“ |
” | Right curly double quote | ” |
” |
• | Bullet | • |
• |
… | Horizontal ellipsis | … |
… |
Explanation of Entities
Entities are mostly used properties in html with there short code name.Theses are very important in html.For example if you want the white space in the paragraph and you know better that a paragraph by default ignores the white spaces in html. That is why you have to use the none break able space entity code.Another example is less than and greater sign. If you want to show it in out put than you can't direct show it in the out put, you have use through its entity code.There are many entities in html with there source are given above.
Comment here
If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.