Three Meta Tags: X-UA-compatible, mssmarttagspreventparsing, and msthemecompatible

Source: Internet
Author: User

Google, the explanation and usage of the three tags are as follows:

X-UA-compatible

  1. <Meta http-equiv = "X-UA-compatible" content = "Ie = emulateie7"/> (this is the case for several portal websites)
  2. <Meta http-equiv = "X-UA-compatible" content = "Ie = 7"/> (Dz forum is like this)

X-UA-compatible is a newly added setting for IE8, which is not recognized by browsers other than IE8. The difference between X-UA-compatible and content = "Ie = 7" and whether the page contains commands, it seems that the standard mode of Windows Internet Explorer 7 is used. The content = "Ie = emulateie7" Mode follows the command. For most websites, it is the preferred compatibility mode.

Currently, IE8 is still in the beta version. To avoid page errors under IE8, we recommend that you use IE7 for rendering. That is, add the Code directly to the meta tag of the header on the page:

  1. <Meta http-equiv = "X-UA-compatible" content = "Ie = 7"/>

In this way, we can make the page behave normally in IE8!

Mssmarttagspreventparsing

  1. <Meta name = "mssmarttagspreventparsing" content = "true"/>

There is a smart tag switch in Microsoft IE 6. If you include the following tag, access will not see some related connections, which can prevent visitors from being lost to the competitor's website.

Msthemecompatible

Whether to disable XP topic usage in IE:

  1. <Meta http-equiv = "msthemecompatible" content = "no"> disable the blue stereo button system display of XP
  2. <Meta http-equiv = "msthemecompatible" content = "yes"/> enable the blue stereo button system display of XP

Here is a more in-depth discussion: http://bbs.blueidea.com/viewthread.php? Tid = 2908097

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.