Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML: Do we really need different DocTypes?

Tags:

html

w3c

dtd

why w3c has the conventions of different Doc-types .. ? Instead they could have recommended only one Doc-type (say loose type.. as it would prone to less number of SILLY errors) and would have standardized it to all browsers (including the ones in mob and PDAs) ..

I haven't got any satisfying answer in any tutorial yet .. I have been reading "how these different Doc-types differ in" but I want to know do we really need it ???

like image 852
InfantPro'Aravind' Avatar asked Nov 27 '22 19:11

InfantPro'Aravind'


1 Answers

That's what HTML5 is going to:

<!DOCTYPE html>
like image 82
Sander Rijken Avatar answered Dec 11 '22 00:12

Sander Rijken