tags:

views:

47

answers:

2

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
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
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
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
Good point; I updated the answer to be more accurate (though, that bit is orthogonal to the question).
Dave Ward
+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
Nb. XHTML5 can be used as well, but apparently it doesn't need a doctype
Casebash