[whatwg] Validation

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