<!DOCTYPE html>
<!--[if lte IE 9]>
<html class="ie lte9" lang="en">
<![endif]-->
<!--[if !IE ]><!-->
<html lang="en">
<!--<![endif]-->
<!--[if gte IE 10]>
<html class="ie gte10" lang="en">
<![endif]-->
I know conditional HTML comment is for IE only and Firefox etc do not understand that.
How the above conditional html tag works correctly in Firefox and Chrome when NOT IE is in middle of the alternatives? I see that line (<html lang="en">
) highlighted in Firefox and chrome. It means FF and chrome understood those correctly and chosen correct tag for itself!