<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
Actually what is the meaning of this statement ?
Some of the examples use
,
to separate versions of IE, while some use;
; which is correct?The order
IE=9; IE=8; IE=7; IE=EDGE
has some importance, I wish to know that.
Edit: I am using <!DOCTYPE html>
If you support IE, for versions of Internet Explorer 8 and above, this:
Forces the browser to render as that particular version's standards. It is not supported for IE7 and below.
If you separate with semi-colon, it sets compatibility levels for different versions. For example:
Renders IE7 and IE8 as IE7, but IE9 as IE9. It allows for different levels of backwards compatibility. In real life, though, you should only chose one of the options:
This allows for much easier testing and maintenance. Although generally the more useful version of this is using Emulate:
For this:
It forces the browser the render at whatever the most recent version's standards are.
For more information, there is plenty to read about on MSDN,
Thus this tag is used to future proof the webpage, such that the older / compatible engine is used to render it the same way as intended by the creator.
Make sure that you have checked it to work properly with the IE version you specify.