Which mode is IE6 if doctype is html as HTML5?
If web page has doctype as HTML5. <!doctype html> Which render mode is it for IE6? The document.compatMode tells CSS1Compat . It looks Standard mode, not quirks mode. But, is it true? IE6 is released before HTML5 term is coined. How can IE6 recognize HTML5 doctype? The HTML5 doctype was specifically chosen because it was the shortest doctype string possible that triggered standards mode in all browsers (starting with IE6). This was a deliberate decision based on what what would work in browsers that were already in use. In other words, if you specify <!doctype html> , IE6 should go into