Using HTML Comments to Hide JavaScript Code : JavaScript in HTML : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Development   » [  JavaScript in HTML  ]   
 



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>
           
       
Related examples in the same category
1.  HTML comment that hides the script.
2.  JavaScript Embedded in an HTML File
3.  Embedding JavaScript in HTML
4.  Inserting Source JavaScript Files
5.  Using the Head for Definitions
6.  A Basic JavaScript Starter Document
7.  JavaScript Template File
8.  Embedding a JavaScript Function
























Home| Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.