A Basic JavaScript Starter Document : JavaScript in HTML « Development « JavaScript DHTML

A Basic JavaScript Starter Document

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


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