What is the use of .<meta charset="UTF-8"> this in html 5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of .<meta charset="UTF-8"> this in html 5

What will happen if I skip this tag

27th Mar 2020, 11:38 AM
Mohit Dangar
Mohit Dangar - avatar
1 Answer
+ 2
Taken from someone else: The "meta" is info in the head. charset = character set utf-8 is character encoding capable of encoding all characters on the web. It replaced ascii as the default character encoding. Because it is the default all modern browsers will use utf-8 without being explicitly told to do so. It remains in meta data as a common good practice. Until the powers that be (unicode consortium) decide not to use it. utf-8 is used for something like 93% of all web traffic. long story short: leave it in.
27th Mar 2020, 12:03 PM
Fernando Pozzetti
Fernando Pozzetti - avatar