Using JavaScript
You can place the SCRIPT tag in the BODY tag of the HTML document. The script inside the BODY tag executes when the web page starts loading in a web browser.
Demo
Let’s create a document called ScriptInBody.html
Syntax
The syntax for placing snippet in the BODY section is

- <BODY>
- <SCRIPT type=”text/javascript”>
- Script code here.
- </SCRIPT>
- </BODY>


Aarthna MaheshwariPosted Apr 28, 2015, 10:54 PM
Santhakumar Munuswamy Thanks for your reviews!
Santhakumar MunuswamyPosted Apr 28, 2015, 2:44 PM
Nice