Reputation: 118792
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?
Upvotes: 3
Views: 2589
Reputation: 121
From what I have gathered so far html5 has some sloppy allowances, for instance, you can tag upper or lower case. It will not necessarily flag certain fudging as xhtml 1.1 will. I suspect this can lead into problems down the line for the casual/sloppy coder.
I code in xhtml strict. I would advise anyone learning html to learn strict coding practices - it will teach you how to code consistently and accurately, and how to problem solve succinctly, and to be better prepared as xml standards open up for more and more practical use.
I cannot stress how glad I am I started coding strict.
If you search on "is html5 strict" (the truth is out there) you will find tones of what I am saying reflected/shared in the more educated circles (imho), so I think my remarks are fairly sound. You will also find good advice on maintaining your tried and true xhtml coding while stretching your legs with (x)html5. (If you don't know why I added the (x) there, then you are not done searching ;^) Try searching html5 + xml ;^)
HTH, Cheers.
Upvotes: 1
Reputation: 60580
Yes, it does. Transitional and Strict only apply to XHTML 1.0 and HTML 4.01.
Upvotes: 1
Reputation: 72658
This is the (only) DOCTYPE for HTML5:
<!DOCTYPE html>
That's it. So yes, there's no difference between "strict" and "transitional".
Upvotes: 5