What is the difference between content = "IE = 7; IE = 9" and content = "IE = 7, IE = 9"
In my HTML, I used a meta tag as shown below for some font issues. I just want to know:
Are these meta tags the same? Or is everyone different?
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />
[comma separated]
<meta http-equiv="X-UA-Compatible" content="IE=7; IE=9" />
[separated by semicolons]
Please explain this.
source to share
Correct form as Microsoft on MSDN uses a halftone line instead of a single comma:
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9" />
Here's a snippet of text:
Note. [...] You can also use the content attribute to specify multiple document compatibility modes; this helps to ensure that web pages are consistently displayed in future browser versions. Specify multiple document modes, set a content attribute to identify such modes of use. Use semicolon to separate modes together.
source to share