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?
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 .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.