+ 1
You can add JavaScript to WebPages in two ways. # External JS # Internal JS External JS ************ ✓ By using <script src = ""> in head section, we can add external JS file link to HTML webpage Internal JS *********** ✓ We can use <script> tag in head to write JS code in a HTML Document. ✓ As HTML has inbuilt script namely JS THANK YOU
2nd May 2020, 6:34 PM
Eswar V
0
You can write it in inside <script>. Javascript </script> in your html pages... Or you can also write your js in external file and then you can link it in html page using script src.
2nd May 2020, 6:19 PM
Vishal Srivastava
Vishal Srivastava - avatar
0
Through external Js file, internal (i.e <script type=text/JavaScript> .... </Script>)in the head section Or through inline method
2nd May 2020, 6:31 PM
Emmanuel
Emmanuel - avatar