Hiding some HTML from IE6 with <!--[if !IE]--> - HTML CSS CSS

HTML CSS examples for CSS:Introduction

Description

Hiding some HTML from IE6 with <!--[if !IE]-->

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css"></style> 
  <script type="text/javascript"></script> 
 </head> <!--   ww  w  .  j  a  v  a  2s  . c o m-->
 <body> 
  <!--[if !IE]--> 
  <h1>You're not using IE. Well done!</h1> 
  <!--[endif]-->  
 </body>
</html>

Related Tutorials