IE浏览器HTML Hack标签总结

2020-04-16 21:56:41易采站长站整理

复制代码
<!–[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]–>