October 16th, 2012, 08:57 PM
Unknown warning from validator.w3.org
What is this warning for?
This is the page.
October 16th, 2012, 09:24 PM
the validator thinks this is HTML5 (because of the DOCTYPE) and tells you not to rely on the results, because HTML5 is still a work in progress.
But there's actually a bigger issue behind this. You seem to be using XHTML, but this is not valid XTHML. If you fix the DOCTYPE or tell the validator to change the mode, you'll get several errors.
October 17th, 2012, 01:39 AM
Oh! So basically what goes in the header before <body>? I mean what are the options?
Originally Posted by Jacques3
October 20th, 2012, 05:53 AM
You'll need to specify the doctype tag as the first element in your document: e.g <!DOCTYPE xxx>
Originally Posted by zxcvbnm
Google "html doctypes" and you'll find lots of variants.