兼容ie浏览器
百度源代码如下(强制使用IE7模式来解析网页代码)
<!Doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:bd="http://www.baidu.com/2010/xbdml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<title>百度一下,你就知道 </title>
<script>var wpo={start:new Date*1,pid:109,page:"superpage"}</script>
Google Chrome Frame也可以让IE用上Chrome的引擎
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
支持多种兼容性模式
<meta http-equiv="X-UA-Compatible" content="IE=5; IE=8" />