Mega Code Archive

 
Categories / JavaScript DHTML / Language Basics
 

Using JavaScript Comments

<html> <head> <title>Using JavaScript comments</title> </head> <body> <script language="JavaScript"> <!-- Begin hiding JavaScript // document.write("hello world!") /* document.write("Hello world!") document.write("Hello World!") */ document.write("HELLO WORLD!") // End hiding Javascript --> </script> </body> </html>