Is html 5 <! DOCTYPE html> equivalent html 4 transition method?
3 answers
The browser does not actually have "HTML 4.01 transition mode." They have a “standards” mode and historical modes, “quirks” and “almost standards” for most browsers, as well as many earlier IE rules for IE.
"HTML 4.01 Transitional" doctype, " " SYSTEM "quirks" .
. http://hsivonen.iki.fi/doctype/ http://dev.w3.org/html5/spec/tree-construction.html#the-initial-insertion-mode
+5
No, they are not alike. Although HTML 5 Doctype is still a draft. But if you test your code for HTML 5 compliance checking, it will not support legacy html 4 attributes or tags. In addition, new HTML 5 tags will only be supported in HTML 5 format when you check your code. You can check it out at this link: http://validator.w3.org/
0