A Basic JavaScript Starter Document : JavaScript in HTML : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  Development   » [  JavaScript in HTML  ]   
 



A Basic JavaScript Starter Document

Please note that some example is only working under IE or Firefox.


/*
JavaScript Unleashed, Third Edition
by Richard Wagner and R. Allen Wyke 

ISBN: 067231763X
Publisher Sams CopyRight 2000

*/
<html>
<head>
  <title>My first HTML page</title>
  <script type="text/javascript">
  <!-- Hide
   
    //Your code will go here
   
  // End hide-->
  </script>
</head>
<body>
  <!-- Your page content will go here -->
</body>
</html>



           
       
Related examples in the same category
1.  HTML comment that hides the script.
2.  JavaScript Embedded in an HTML File
3.  Using HTML Comments to Hide JavaScript Code
4.  Embedding JavaScript in HTML
5.  Inserting Source JavaScript Files
6.  Using the Head for Definitions
7.  JavaScript Template File
8.  Embedding a JavaScript Function
























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