HTML If condition comment

Source: Internet
Author: User

The if IE conditional annotation plays a very big role!

What does the IF IE mean? The following is a list of some common hack control statements in CSS.
Use memo as an if condition comment for ie, sometimes try if ie instead of using hack in CSS.
Use the conditional if comment in HTML to have the client's different versions of IE browser read the contents of their version browser comments.

<!--[if! Ie]> In addition to IE can be recognized <! [endif]--><!--[If ie]> all IE recognizable <! [endif]--><!--[If GT IE 5.0]> IE5.0 and IE5.0 above can be identified <! [endif]--><!--[If IE 6]> only IE6 recognizable <! [endif]--><!--[If Lt IE 6]> IE6 and IE6 The following versions are recognized <! [endif]--><!--[if GTE IE 6]> IE6 and IE6 versions are recognized <! [endif]--><!--[If IE 7]> only IE7 recognizable <! [endif]--><!--[If Lt IE 7]> IE7 and IE7 The following versions are recognized <! [endif]--><!--[if GTE IE 7]> IE7 and IE7 versions are recognized <! [endif]-->

HTML If condition comment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.