Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bad value X-UA-Compatible for attribute http-equiv on element meta

I have used the same meta that HTML5 Boilerplate is using, and the W3C HTML validator complains:

Bad value X-UA-Compatible for attribute http-equiv on element meta.

<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'> 

What is wrong with this meta tag?

like image 622
Randomblue Avatar asked Jan 07 '13 15:01

Randomblue


People also ask

What is meta http equiv X UA compatible?

The X-UA-Compatible meta tag is a http-equiv meta tag. X-UA-Compatible Meta Tag Format: Emulate IE 7. Display as IE 8 with or without a DOCTYPE. Quirks Mode (IE 5)

What is content ie edge?

IE=edge means IE should use the latest (edge) version of its rendering engine. chrome=1 means IE should use the Chrome rendering engine if installed.


1 Answers

Either X-UA-Compatible is not "standard" HTML (FSVO "standard" that involves appearing on a publicly editable wiki page referenced by the specification) or the Validator isn't up to date with the current status of that wiki.

At the time of writing (20130326) X-UA-Compatible appears on the wiki page under a section that states: "The following proposed extensions do not yet conform to all the registration requirements in the HTML spec and are therefore not yet allowed in valid documents." So the validator is correct to reject this value.

like image 79
Quentin Avatar answered Oct 29 '22 03:10

Quentin