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 Answers
+ 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