+ 1
What does meta charset do in an <html> tag?
In the <html> tag, I see an attribute as <html meta charset="utf-8">. I would like to know what it does and it's importance. please help.
1 Réponse
+ 3
meta means metadata ( data about data) of a webpage
charset means the character set used in the webpage
<meta charset="UTF-8" />
Here meta tag is the container for metadata. The metadata contained in this tag is the character set used in the page, so charset attribute is used. The value of charset is UTF-8, so it will be used for all characters within this page