html IE HTML评论

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html IE HTML评论相关的知识,希望对你有一定的参考价值。

<p class="accent">
<!--[if IE]>
According to the conditional comment this is IE<br />
<![endif]-->
<!--[if IE 6]>
According to the conditional comment this is IE 6<br />
<![endif]-->
<!--[if IE 7]>
According to the conditional comment this is IE 7<br />
<![endif]-->
<!--[if IE 8]>
According to the conditional comment this is IE 8<br />
<![endif]-->
<!--[if IE 9]>
According to the conditional comment this is IE 9<br />
<![endif]-->
<!--[if gte IE 8]>
According to the conditional comment this is IE 8 or higher<br />
<![endif]-->
<!--[if lt IE 9]>
According to the conditional comment this is IE lower than 9<br />
<![endif]-->
<!--[if lte IE 7]>
According to the conditional comment this is IE lower or equal to 7<br />
<![endif]-->
<!--[if gt IE 6]>
According to the conditional comment this is IE greater than 6<br />
<![endif]-->
<!--[if !IE]> -->
According to the conditional comment this is not IE<br />
<!-- <![endif]-->
</p>

以上是关于html IE HTML评论的主要内容,如果未能解决你的问题,请参考以下文章

HTML HTML标签IE条件评论

HTML IE条件评论

HTML IE条件评论

HTML Wordpress:IE条件评论

HTML IE条件评论

OWASP HTML Sanitizer 清理评论