This facility changes the web page functionality and future of the internet programming means web pages not only display the content but also provide computation.
What is the difference between programming language and scripting language ?
|Programming language||Scripting language|
|Require Compilation||Do not require compilation|
|Static in nature||Dynamic in nature|
|Debugging is difficult||debugging is easy.|
|Datatype need to be defined.||No need defining Datatype during declaration.|
Now we clarified the doubt about scripting language ,if you want more details about it ,click here.
What is Java Script ? What is its History?
- Using Script tag: The <script> is paired tag will be used to place the scripting code inside the HTML .This is called internal .
The script tag informs HTML that it contains the scripting code to be executed before displaying the web page.
Let us take one more example to do arithmetic operation: