- From: Robert K. Foster <rkfoster@thewindjammer.com>
- Date: Mon, 9 Apr 2012 12:40:41 -0400
- To: David Dorward <david@dorward.me.uk>
- Cc: www-validator@w3.org
- Message-ID: <CAA0DoA4qLrQHcPiuMp3_CSSnhB7fqSbjqvd_GgPu4GGbDDxMMw@mail.gmail.com>
David, Thanks for pointing out the problem with the 'div' element. Many times I just copy and paste code from services like facebook without thinking it through. Removing the 'div' element from the head solved the problem. 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? Thanks, Bob. On Sat, Apr 7, 2012 at 8:06 AM, David Dorward <david@dorward.me.uk> wrote: > On 6 Apr 2012, at 23:44, Robert K. Foster wrote: > > Line 8, Column 52: Bad value X-UA-Compatible for attribute http-equiv on > element meta. > <meta http-equiv="X-UA-Compatible" content="IE=9" /> > > > That is invalid HTML 5. > > From the spec: Conformance checkers must use the information given on the > WHATWG Wiki PragmaExtensions page to establish if a value is allowed or > not: values defined in this specification or listed on the aforementioned > page must be accepted, whereas values not listed in either this > specification or on the aforementioned page must be rejected as invalid. > Conformance checkers may cache this information (e.g. for performance > reasons or to avoid the use of unreliable network connectivity). > > — http://www.w3.org/TR/html5/the-meta-element.html#the-meta-element > > Frankly, having a W3C spec depend on a freely editable third party > resource seems crazy to me. Hopefully it will be improved before HTML 5 > becomes a recommendation. > > Line 45, Column 7: Stray end tag head. > Line 47, Column 6: An body start tag seen but an element of the same type > was already open. > > > You terminated the head (the end tag is optional) and started the body > (the start tag is optional) by on line 33 by including a <div> (since div > elements cannot appear in the head but can appear in the body). > > -- > David Dorward > http://dorward.me.uk > >
Received on Monday, 9 April 2012 16:41:11 UTC