W3C home > Mailing lists > Public > www-validator@w3.org > April 2012

Re: X-UA-Compatible causes extraneous errors in the validator for an html5 page

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 9 Apr 2012 18:48:18 +0100
Message-ID: <CAEhSh3dATrMobs10Vv2mjR5+Spdx-p5UBmd9HzDHs_V+zrLxuQ@mail.gmail.com>
To: "Robert K. Foster" <rkfoster@thewindjammer.com>
Cc: David Dorward <david@dorward.me.uk>, www-validator@w3.org
On Mon, Apr 9, 2012 at 5:40 PM, Robert K. Foster
<rkfoster@thewindjammer.com> wrote:
> I thought I had made it clear that I understood that particular meta tag is
> not valid markup. But I am not aware of another way currently to make html5
> compatible with older browsers. Is there another html5-valid way that you
> are aware of?

The easy way is to just use a real HTTP header rather than using a
<meta> element:

    X-UA-Compatible: IE=9

The hard way is to:

1. Register the "X-UA-Compatible" pragma extension as described at:


2. Submit a bug to the validator bug tracker to get it updated to
support your newly registered pragma:


Benjamin Hawkes-Lewis
Received on Monday, 9 April 2012 17:49:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:26 UTC