html中的版本检测注释详解

注: N : 代表某个版本
<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]-->
<!--[if IE]> 所有的IE可识别 <![endif]-->
<!--[if IE N]> 仅IE[N]可识别 <![endif]-->
<!--[if lt IE N]> IE[N]以下版本可识别 <![endif]-->
<!--[if gte IE N]> IE[N]以上版本可识别 <![endif]-->




posted @ 2018-04-03 17:53  MF孟飞  阅读(166)  评论(0编辑  收藏  举报