0

Possible Duplicate:
HTML comments in a javascript block?

Hello im cleaning a web page from comments and other stuff.

I just found this <!-- but i dont understand why start with <!-- and close with -->

I use that to comment out something on html.. but here?? look at it

<script type="text/javascript"><!--
$("ul.menubbcl").superfish({        
    animation: {height:'show'},   // slide-down effect without fade-in 
    delay:     1000,           // 1.0 second delay on mouseout
    autoArrows : true 
}); 
//--></script>

Can somebody explain me this. pls

Community
  • 1
  • 1
Monclee
  • 146
  • 12

1 Answers1

0

This is for browsers that do not support Javascript. Supplying HTML comment tags around it will prevent it from being rendered as text in such browsers.

AlienHoboken
  • 2,750
  • 20
  • 23