Why does http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" is not validated in W3C Validator? [duplicate]
Asked Answered
F

1

11

I have:

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

On validation in http://validator.w3.org/ I get this error:

A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.

I am working with .NET/Razor and of course locally using IIS. Is there a way to solve this without editing any web.config files? Thanks in forward.

Foist answered 23/1, 2015 at 11:10 Comment(1)
Why you want to add chrome=1 to the content?Picardi
K
12

According to this discussion in the W3C, using the chrome=1 part is not allowed.

You can pass the validation by using just like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Karttikeya answered 23/1, 2015 at 13:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.