The entities in html are like the signs but with number of small abbr, so when dealing with entities like copy write and euro sign or so on we use the entities.
For More Visual Explain! Take This Video:
Some characters are reserved in HTML for special purpose. If you use the copyright or less than (<) or greater than (>) signs in your text, the browser might mix them with tags. So the safest way is to use the entities number of common names to display reserved characters in HTML.
Character Entity Example:
&entity_name; OR &#entity_number;
Note: To display a less than sign (<) we must write: < or <
A common character entity used in HTML is the non-breaking space: which is used to create space in the horizontal line.
<p>Hello guys How are You </p>
Result: Hello guys How are Your
Some Common Character Entities in This Table:
|Result||Description||Entity Name||Entity Number|
|non-breaking space|| || |
|“||double quotation mark||"||"|
|‘||single quotation mark (apostrophe)||'||'|
#Focus: These entities code is case sensitive so when dealing with these entities take care of code character case.
This post is one of the HTML5 for deep understanding course. where we will learn every common elements from basic to the advanced element.
In addition each lesson has a video which you could visit and watch for more practicing and for deep understanding.
We hope that we could give the best for you and for the deep and easy understanding.
You could follow the series from our website SAFHATECH.com and go to categories and then programming and then Choose the course you want then just click next post to go step by step.
Finally we hope every thing is works as you suspect.
Consequently You could follow us at :
Website URL: https://www.safhatech.com/