Conditional Comments
问题 I am a newbie to UI. I see the conditional comments used to identify the IE browser like <!--[if IE 10]> <html class="no-js ie10" lang="en"> <![endif]--> <!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]--> They work fine but can anyone explain how it works? Doesn't IE recognize these statements as comments? 回答1: First of all, IE10 does not have Conditional Comments Recognition, it has been disabled, it works only for IE9 and lower. Versions over 10 are much less buggy than the