Log in

View Full Version : Conditional comments



rocka
08-08-2016, 01:40 AM
As i know that conditional comments are supported only by Internet Explorer and comments are ignored by browsers.My question is that-
If you put a conditional comment in a html document and open it with google chrome ,it will be displayed because it is only supported by IE not by GOOGLE chrome?

addisoncave
08-25-2016, 06:04 AM
No, Google Chrome won't show the comments on the screen. these comments are only use to put some codes if condition will run that code for IE would RUN in IE or the default code will run

elenajayden
08-29-2016, 10:13 AM
Conditional Comments behave just like simple HTML comments, but they have a specific syntax that IE/Win browsers can recognize.