Search code examples
htmldoctypestandards-compliance

<!DOCTYPE html> and older browsers


Does <!DOCTYPE html> trigger standards mode for older browsers as well? Saying "in all modern browsers" isn't very precise.

I am especially interested in IE6.

Thank you.


Solution

  • This is how the HTML5 doctype came into existance (in layman's terms):

    The guys who make the standards wanted a simpler doctype. They found out that <!DOCTYPE html> (which is as simple as it gets) does trigger standards mode in browsers. They decided to standardize it in HTML5.

    True story.