3

One of the websites I am working on declares ecoding of the HTML file using <meta charSet="utf-8"/> (notice the capital S) instead of <meta charset="utf-8"/>.

I am aware that this is not following the standard, but does it affects the correct interpretation of characters in the content? Must this be corrected?

3

HTML attributes are case insensitive so, yes, you can do that. Running it through the validator would have shown you that, too.

Note: the <meta> tag does not use and does not need a closing slash and never has.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.