W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Validation

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Mon, 20 Jul 2009 21:48:14 +0200
Message-ID: <1248119294.13842.36.camel@desudesudesu>
Am Montag, den 20.07.2009, 15:01 -0400 schrieb Darxus at ChaosReigns.com:
> Why is it okay for a document to not specify its HTML version?  

Because HTML 5 is designed with upwards-compatibility in mind. HTML 6
browsers should read HTML 5 documents just fine.

> Do all browsers ignore it?

All modern browsers skip into standards mode on encountering "<!DOCTYPE
html>".

> How should a validator handle lack of HTML version info when the next
> standard is released with no DOCTYPE?

I assume the validator will probably check for a current version of
HTML. Most of the older versions of HTML are subsets of current
versions.


Cheers
-- 
Nils Dagsson Moskopp
<http://dieweltistgarnichtso.net>
Received on Monday, 20 July 2009 12:48:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC