N/APosted on - 05/04/2012
Internet Explorer 9.0 is on of stable browser under the Microsoft. This browser has a feature known as Developer tools, inside the developer tools there is a browser mode and a document mode. What is difference of both and what is the used of those features?
Browser mode and Document mode
With site developers verifying that their sites run well in IE9 and taking advantage of the new HTML5 capabilities and better performance in IE9’s Standards mode, now is a good time to recap how to use Browser Mode and Document Mode to test sites for IE9 and previous IE versions.
In summary, developers can use IE’s Developer Tool’s Browser Mode menu to test how their site will run in different versions of IE. The Document Mode menu is what developers use to determine the best rendering mode for their site in an IE8 and IE9 browser. As we’ve mentioned before, we want sites to run well in the latest standards document mode – IE9’s standards mode in IE9 and IE8’s standards mode in IE8.
The Document Mode declares what mode IE’s Trident engine will render the markup in such as IE9’s Standards Mode. Changing the Document Mode through IE’s Developer Tools refreshes the page, but does not resend the UA string or retrieve new markup from the server.