+ 1
Q in HTML
What is the effect if i write this line in head???? : <meta charset="UTF-8"> I dont understand it!
2 Respostas
+ 2
maybe you will understand better, if you will change it to something else, for instance:
ISO-8859-2
and inside a body add some text:
őűéáí
now change to:
ISO-8859-1
add text:
ćčšž
switch back to ISO-8859-2
is there everything okay?
0
Hi Yazan Alhallack !
Adding that line of code ensures that all text in the webpage including symbols are displayed correctly accross different browsers and devices. As Mihaly Nyilas said, it helps and prevent encoding-related issues.