InterviewSolution
Saved Bookmarks
| 1. |
<!-- Question --> <div id="outer"> <div id="inner"></div> </div> |
|
Answer» Conditional comments are developed by MICROSOFT. And it only worked with IE browser. The conditional comments HELP to target IE browser & comments can be written to target the different version of IE 5-IE 9. CSS rules or code embedded INSIDE of the comments will be used by Internet explorer based browser. WHEREAS from IE10 & above the support for conditional comments has been dropped. <p class=“conditional-comments“> <!--[if IE]> According to the conditional comment this is IE<br /> <![endif]--> <!--[if !IE]> --> According to the conditional comment this is not IE 5-9<br /> <!-- <![endif]--> </p> |
|