HTML Conditional Comments Code For Website - Learn About Website | DaddyFile

0

Conditional Comments Explain

You might stumble upon conditional comments in HTML.
Conditional comments defines HTML tags to be executed by Internet Explorer only.



Html Code:

<!DOCTYPE html>
<html>
<body>

<!--[if IE 5]>This is IE 5<br><![endif]-->
<!--[if IE 6]>This is IE 6<br><![endif]-->
<!--[if IE 7]>This is IE 7<br><![endif]-->
<!--[if IE 8]>This is IE 8<br><![endif]-->
<!--[if IE 9]>This is IE 9<br><![endif]-->

</body>
</html>



Html Code Result:

Not Show only Blank Page

Post a Comment

 
Top