Entities in HTML
&entity_name; in html
Entities are the special character in html. Suppose we want to use < or > or this symbol in our code then our program confused that which symbol is used for tags and which is used as greater than or less than sign. So, we must write < and > or < and >. A character entity looks like this : &entity_name; OR &#entity_number;
A commonly used html entity are non breaking space (&nbps;) it is used for add space between two words.
Some of the html entities are:
\> © < " ' &
Subscribe to our newsletter
Read articles from Srishti's Blog directly inside your inbox. Subscribe to the newsletter, and don't miss out.