From what I have read, it appears that HTML5 removes the distinction between strict and transitional (always strict now). I have not been able to find it specifically mentioned anywhere, only implied. Is this the case?
+1
A:
Yes, it does. Transitional and Strict only apply to XHTML 1.0 and HTML 4.01.
Dave Ward
2010-07-06 05:45:55
Transitional and strict applied to HTML 4.01 as well. 4.01 also had "Frameset". Strict disallowed elements like `<font>` and attributes like `width` and `height`...
Dean Harding
2010-07-06 05:50:14
They do not only apply to XHTML. They apply to HTML 4.01 as a standard as well. Transitional doctype in HTML 4.01 allows the use of depreciated elements while strict does not.
John
2010-07-06 05:50:26
Sorry - but Transitional and Strict also apply to HTML 4.01, so not just XHTML: http://www.w3schools.com/tags/tag_DOCTYPE.asp
Michael Shimmins
2010-07-06 05:51:47
Good point; I updated the answer to be more accurate (though, that bit is orthogonal to the question).
Dave Ward
2010-07-06 05:55:11
+4
A:
This is the (only) DOCTYPE for HTML5:
<!DOCTYPE html>
That's it. So yes, there's no difference between "strict" and "transitional".
Dean Harding
2010-07-06 05:48:27
Nb. XHTML5 can be used as well, but apparently it doesn't need a doctype
Casebash
2010-07-06 05:54:08