Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What reasons could justify Apple's HTML5 demos use of HTML4 doctypes?

Tags:

html

doctype

Some of Apple's HTML 5 demos use an html4 loose doctype:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

What reasons could they have for not using the HTML5 doctype?:

<!DOCTYPE html>

EDIT: I am really looking for technical answers here not political, perhaps I should of reworded this question to "What could be gained from using an HTML4 doctype when using HTML5?" - Apologies for the confusion.

like image 360
Dr. Frankenstein Avatar asked Jun 04 '10 09:06

Dr. Frankenstein


2 Answers

Because those demos are just marketing. They are not built using best practice and they do not really show much HTML5 at all.

In fact, they even block Google Chrome 5 and suggest that you'd upgrade to Safari 4. LOL!

like image 129
itpastorn Avatar answered Nov 02 '22 15:11

itpastorn


Because behind that Fortune 500 company, the marketing veneer and all that imposing technical knowledge/reputation is just a group of people who sometimes make mistakes. Same as you and me.

Consider it a bug and report it.

like image 5
lewiguez Avatar answered Nov 02 '22 14:11

lewiguez