<!DOCTYPE html>
<html>
<head>
<title>测试IE版本</title>
</head>
<body>
<!-- 如果是IE-->
<!--[if IE]>
<!-- 如果是IE9-->
<!--[if IE 9]>
我是IE9
<![endif]-->
<!-- 如果是IE8-->
<!--[if IE 8]>
我是IE8
<![endif]-->
<!-- 如果是小于等于IE7-->
<!--[if lte IE 7]>
我小于等于IE7
<![endif]-->
<!-- 如果是IE6-->
<!--[if lte IE 6]>
我是IE6
<![endif]-->
<![endif]-->
</body>
</html>
IE浏览器专用标签
最新推荐文章于 2019-03-15 18:57:14 发布