Dealing with Page Speed issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free

This Hint has been deprecated, and we no longer consider it best practice. In order to get the most accurate audit results from Sitebulb, please ensure you update to the latest version.

Low This Hint is of the lowest significance, and should only be addressed if there are not more serious issues which have not been handled. Issue This Hint represents an error or problem that needs to be fixed.

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>:

<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
...
<link href="/css/base.css" type="text/css" rel="stylesheet"/>
<script src="/templates/main/js/modernizr.custom.99144.js" type="text/javascript"></script>
...
</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>.

Further Reading

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.