Using HTML Comments to Hide JavaScript Code
<html> <head> <title>Using HTML comments to hide JavaScript code</title> </head> <body> <script language="JavaScript"> <!-- Begin hiding JavaScript document.write("Hello World!"); // End hiding JavaScript --> </script> </body> </html>