Entities in HTML

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 &lt; &#060;
> Greater-than symbol &gt; &#062;
© Copyright &copy; &#169;
® Registered trademark &reg; &#174;
Trademark &trade; &#8482;
£ Pound &pound; &#163;
¥ Yen &yen; &#165;
Euro &euro; &#8364;
En-dash &ndash; &#8211;
Em-dash &mdash; &#8212;
Left curly single quote &lsquo; &#8216;
Right curly single quote &rsquo; &#8217;
Left curly double quote &ldquo; &#8220;
Right curly double quote &rdquo; &#8221;
Bullet &bull; &#8226;
Horizontal ellipsis &hellip; &#8230;

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.

The Best

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.