当前位置:主页 > 查看内容

IE浏览器HTML Hack标签总结

发布时间:2021-04-30 00:00| 位朋友查看

简介:复制代码 代码如下: !--[if !IE]!-- 除IE外都可识别 !--![endif]-- !--[if IE] 所有的IE可识别 ![endif]-- !--[if IE 5.0] 只有IE5.0可以识别 ![endif]-- !--[if IE 5] 仅IE5.0与IE5.5可以识别 ![endif]-- !--[if gt IE 5.0] IE5.0以上版本都可以识别 ![endi……


复制代码
代码如下:

<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]-->
<!--[if IE]> 所有的IE可识别 <![endif]-->
<!--[if IE 5.0]> 只有IE5.0可以识别 <![endif]-->
<!--[if IE 5]> 仅IE5.0与IE5.5可以识别 <![endif]-->
<!--[if gt IE 5.0]> IE5.0以上版本都可以识别 <![endif]-->
<!--[if lt IE 6]> IE6以下版本可识别 <![endif]-->
<!--[if IE 6]>this is ie6<![endif]-->
<!--[if gt IE 6]> IE6以上版本可识别 <![endif]-->
<!--[if lt IE 7]> IE7以下版本可识别 <![endif]-->
<!--[if IE 7]>this is ie7<![endif]-->
<!--[if gt IE 7]> IE7以上版本可识别 <![endif]-->
<!--[if lt IE 8]> IE8以下版本可识别 <![endif]-->
<!--[if IE 8]>this is ie8<![endif]-->
<!--[if gt IE 8]> IE8以上版本可识别 <![endif]-->
<!--[if lt IE 9]> IE9以下版本可识别 <![endif]-->
<!--[if IE 9]>this is ie9<![endif]-->


原文链接:https://m.jb51.net/web/292722.html
本站部分内容转载于网络,版权归原作者所有,转载之目的在于传播更多优秀技术内容,如有侵权请联系QQ/微信:153890879删除,谢谢!

推荐图文


随机推荐