I was checking html5boilerplate out in W3C Validator using a html5 test and it gave this error
Line 8, Column 64: Bad value X-UA-Compatible for attribute http-equiv on element meta.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
What should the value be to pass this test?
Firstly, validation doesn’t mean anything – html isn’t XML, and hence doesn’t have a schema like that to validate on.
Assuming you know that validation is pointless, and are treating it as a linter to help pick up errors, this error is an error. The
X-prefix means that this is vendor specific, in this case it’s for IE (meaning render in the best version), and for Chrome Frame (the 1 means on).It’s not invalid.