0
Why do I have to use the charset tag ?
Today I have learned something about character set tag but I dont understand the purpose and why I have to use it.
2 Réponses
+ 4
The charset tag is especially useful if you are using any UTF-8 character, such as accented characters like in “café” or non-English characters (such as in Arabic, Chinese, Japanese, Thai…). It then allows you to directly type these characters in your HTML code without any further thinking. Otherwise, you would have to use the HTML code for the accented character (such as “café”).
It is interesting to always set it so if you someday have to include some UTF-8 characters, you won’t have to spend time wondering why characters aren’t correctly displayed or to write the HTML code for each one of these special characters.
0
thank you