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
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.