Suthakar
Suthakar

Reputation: 53

Charset issue in HTML

I tested with my website in GTmetrix and it says

The following resources have a character set specified in a meta tag. Specifying a character set in a meta tag disables the lookahead downloader in IE8. To improve resource download parallelization, move the character set to the HTTP Content-Type response header.

Now it's like <meta http-equiv="Content-Type" content="text/html; charset=utf-8">.

How can I solve this problem? I am using HTML 5 and CSS3.

Upvotes: 2

Views: 119

Answers (1)

evilunix
evilunix

Reputation: 960

If your server is capable of running PHP, put the following code right at the top of your html file and rename it to whatever.php:

<?php
header('Content-Type: text/html; charset=utf-8');
?>

Upvotes: 1

Related Questions