HTML comment that hides the script. : JavaScript in HTML : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
1. Ajax Layer
2. Data Type
3. Date Time
4. Development
5. Document
6. Event
7. Event onMethod
8. Form Control
9. GUI Components
10. HTML
11. Javascript Collections
12. Javascript Objects
13. Language Basics
14. Node Operation
15. Object Oriented
16. Page Components
17. Security
18. Style Layout
19. Table
20. Utilities
21. Window Browser
Java
Java Tutorial
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
JavaScript DHTML » Development » JavaScript in HTML 
HTML comment that hides the script.


/*
Examples From
JavaScript: The Definitive Guide, Fourth Edition

Legal matters: these files were created by David Flanagan, and are
Copyright (c) 2001 by David Flanagan.  You may use, study, modify, and
distribute them for any purpose.  Please note that these examples are
provided "as-is" and come with no warranty of any kind.

David Flanagan
*/

<script language="JavaScript">
<!-- Begin HTML comment that hides the script.
        // JavaScript statements go here.
        //              .
        //              .
// End HTML comment that hides the script. -->
</script>


           
       
Related examples in the same category
1. JavaScript Embedded in an HTML File
2. Using HTML Comments to Hide JavaScript Code
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.