[whatwg] Validation

Nils Dagsson Moskopp nils-dagsson-moskopp at dieweltistgarnichtso.net
Mon Jul 20 12:48:14 PDT 2009

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

> 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

Nils Dagsson Moskopp

More information about the whatwg mailing list