Will this cause error for IE when using <!--[]>HTML GOES HERE<![]-->?

倖福魔咒の 提交于 2020-01-25 16:28:52

问题


I notice that we can use condition-in-comment for IE browsers and in some IDE such as PyCharm we have the code folding for it as the attached snapshot.

So I wonder if I would cause any error for IE when using the syntax to create collapsible code-region as below snippet

<!--YOUR COMMENT GOES HERE--><!--[]>
  <script src="someSource"></script>
<![]-->

来源:https://stackoverflow.com/questions/38630378/will-this-cause-error-for-ie-when-using-html-goes-here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!