Multiple X-UA-Compatible meta tags on one page

515 Views Asked by At

What happens if you have multiple X-UA-Compatible meta tags on one page?

For example:

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

I wasn't able to find any solid documentation or SO answers for this question - however, after running some of my own tests on Internet Exploder it seems that the browser simply ignores the second meta tag. Is anyone able to corroborate/refute this?

1

There are 1 best solutions below

0
Lauren On

This does not appear to be valid when running this in the W3C validator. There is a complete answer I would recommend if you'd like to learn more here.