How to un-comment this?

<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

I think if it's less than IE 9 then link to some js library.  However, what's all that [ ] brackets.  What to do with that?  I thought comment is <!--   -->  
How do I un-comment this?

thank you.
lapuccaAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
You shouldn't uncomment those lines.  They are for IE only and the comments that are there 'hide' them from the other browsers that do not need those javascripts.
0
 
QPRCommented:
These are called conditional comments, you can read up on them here
http://css-tricks.com/how-to-create-an-ie-only-stylesheet/
0
 
Raheman M. AbdulConnect With a Mentor Senior Infrastructure Support Analyst & Systems DeveloperCommented:
Refer: http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx

[]  whatever inside is condition for the comment.

I guess you should remove
<!--[if lt IE 9]>
<![endif]-->
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
lapuccaAuthor Commented:
Important  As of Internet Explorer 10, conditional comments are no longer supported by standards mode. Use feature detection to provide effective fallback strategies for website features that aren't supported by the browser. For more info about standards mode, see Defining Document Compatibility.

got the above from Raheman's url link, What should I use to replace these ?

Thanks.
0
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
You don't need to replace them or do anything else with them.  They are there to make up for deficiencies in earlier browsers.  IE10 can ignore them and still work just fine.
0
 
lapuccaAuthor Commented:
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.