If I set the doctype to the HTML 5 <!DOCTYPE html>, this will set browsers into standards mode.
Does that mean that most modern browsers will behave as if they are in HTML 4.01 Transitional mode?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Browser’s don’t actually have a “HTML 4.01 Transitional mode”. They have a “standards” mode and historic modes, “quirks” and “almost standards” for most browsers, and a variety of earlier IE behaviours for IE.
There isn’t a direct mapping from a “HTML 4.01 Transitional” doctype to a mode, but for most modern browsers, it maps to “almost standards” mode in the presence of the SYSTEM identifier and “quirks” mode in its absence.
For more details, see http://hsivonen.iki.fi/doctype/ and http://dev.w3.org/html5/spec/tree-construction.html#the-initial-insertion-mode