Click here to Skip to main content
15,888,168 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is the use of below two tags?

XML
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />

<meta content="text/html; charset=utf-8" http-equiv="Content-Type">




using
XML
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" /> 

getting compatibility issues in IE11

Please explain the use of these tags?


Thanks Advance
Krishna..
Posted
Updated 25-Jun-15 18:54pm
v2

1 solution

1.The first meta tag is necessary in the case that you have to manage an old application (or old web pages), designed for old IE verssion and you want that your web pages to be rendered without problems in new versions of IE browser.

2.The 2nd meta tag specifies the character encoding that will be used in your web application. This tag is needed for example in the case of using of internationalization (German, French, etc.) and you want that the special characters form the used languages to be rendered correctly.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900