Meta charset is not the first element in <head>
URLs that specify the character set in the <head>, where it is not the first element.
Why is this important?
It is important to specify a character set as early as possible to allow the browser to begin parsing HTML and executing scripts immediately, which reduces latency time. Ideally, this would be done in the HTTP response header, but if this is not possible, then it should be the first element in the <head>.
What does the Hint check?
This Hint will trigger for any internal URL that contains a charset in the <head>, where it is not the first element.
Note: this Hint will not trigger if the charset was already specified in the HTTP header.
Examples that trigger this Hint:
The Hint would trigger for any URL where the meta charset is not the first element in the <head>:
How do you resolve this issue?
It is recommended to always specify the character set on the server-side whenever possible, via the HTTP headers.
Alternatively, if you do not have access to your server, ensure that the meta charset is the very first element in the <head>.