Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does HTML5 remove the distinction between strict and transitional?

Tags:

html

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?

like image 385
Casebash Avatar asked May 03 '26 01:05

Casebash


2 Answers

This is the (only) DOCTYPE for HTML5:

<!DOCTYPE html>

That's it. So yes, there's no difference between "strict" and "transitional".

like image 81
Dean Harding Avatar answered May 05 '26 17:05

Dean Harding


Yes, it does. Transitional and Strict only apply to XHTML 1.0 and HTML 4.01.

like image 35
Dave Ward Avatar answered May 05 '26 18:05

Dave Ward