Thursday, 21 January 2016

Syntax of Javascript

JavaScripts in HTML must be inserted between <script> and </script> tags.
JavaScripts can be put in the <body> and in the <head> section of an HTML page.
The <SCRIPT> tag alerts a browser that JavaScript code follows. It is typically embedded in the HTML.
<SCRIPT language = "JavaScript">
statements

</SCRIPT>

0 comments:

Post a Comment