我有一个在IE10中破解的应用程序,但在IE10兼容性视图中运行良好.一个快速的谷歌结果
<meta http-equiv="X-UA-Compatible" content="IE=8">
<!-- plus variations such as emulate, quirks, 7, 8, 9 --->
Run Code Online (Sandbox Code Playgroud)
标签.标签上的一些MS文档就在这里.如果按F12,则可以看到它更改了文档模式.我需要它将浏览器模式更改为Internet Explorer 10兼容性视图.有没有可以做到这一点的标签?

更新 我需要提一下,我已经尝试了以下所有的doctypes,但没有一个工作.我认为在IE10中使用它的唯一方法是使用兼容性视图.
<!--
<!DOCTYPE html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …Run Code Online (Sandbox Code Playgroud) 我在一家公司工作,我们所有的网站目前都使用XHTML 1.0过渡文档类型(是的,我知道它是非常古老的学校).我想将它们全部更改为使用HTML5 doctype,因为它向后兼容.我想要进行切换的原因之一是因为在IE8中如果有人安装了开发人员工具,那么旧的XHTML doctype会将浏览器切换到兼容模式并将页面呈现为IE7.从阅读开始,我开始相信HTML5 doctype将设置任何页面以标准模式呈现,但是当我在我们的临时服务器上测试它时,它仍然没有发生,它仍然会转换为IE7渲染模式.
奇怪的是,如果我在本地保存带有HTML5 doctype的页面并打开它,它将在IE8标准模式下呈现.必须有其他东西导致它放入兼容性IE7渲染.任何想法可能是什么?
以下是我一直在关注的测试页面的负责人:
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>Burton - Mens Clothing - Mens Fashion - Burton Menswear</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Burton is one of the UK's leading men's clothing & fashion retailers, with a range of men's clothing designed to make you look & feel good. Find formal & casual clothes & accessories for men online at Burton menswear"/>
<meta name="keywords" content="menswear, clothes for men, clothing for …Run Code Online (Sandbox Code Playgroud) html html5 doctype internet-explorer-8 ie8-compatibility-mode