Hide scripts using comments : Comments « Language Basics « JavaScript Tutorial
- JavaScript Tutorial
- Language Basics
- Comments
<html>
<head>
<title>Hide scripts using comments.</title>
<script language="javascript" type="text/javascript">
<!--
lines of JavaScript code here
...
//-->
</script>
</head>
<body>
Page content here...
</body>
</html>