Sunday, March 29, 2015

JavaScript Introduction


  • JavaScript is more popular and commonly used as a client side scripting language. This means that JavaScript code is written into an HTML page.When a user requests an HTML page with JavaScript in it, the script is sent to the browser and it's up to the browser to do something with it.
  • JavaScript is a lightweight, interpreted programming language with object-oriented capabilities that allows you to build interactivity into otherwise static HTML pages.

Syntax :
  • A JavaScript consists of JavaScript statements that are placed within the <script>... </script> HTML tags in a web page.
  • You can place the <script> tag containing your JavaScript anywhere within you web page but it is preferred way to keep it within the <head> tags.
      The <script> tag alert the browser program to begin interpreting all the text between              these tags as a script. So simple syntax of your JavaScript will be as follows
                                       
                                           <script>
                                            JavaScript Code
                                           </script>
Unknown Software Engineer

No comments:

Post a Comment