Data Network Resource
       Earn on the Web


11. Interacting With Programmes



When incorporating programmes written in a language such as Javascript, you use the <SCRIPT> and </SCRIPT> tag pair. The LANGUAGE attribute is used to indicate the programming language being incorporated. An important task is to enclose the script within the comment marks <-- and -->. This prevents browsers that are not Javascript-enabled from seeing the code as something to parse. Modern browser clients expect to see the comment marks within the script tags and work with that.


Valid HTML 4.01 Transitional




Earn on the Web    


All rights reserved. All trademarks, logos, and copyrights are property of their respective owners.