+ 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
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.
0
Through external Js file, internal (i.e <script type=text/JavaScript>
....
</Script>)in the head section
Or through inline method



