-
Why to use muliple script tags
- code can be split in to multiple files
- if files are not changed it will not load already loaded js
- This is called browser Caching
-
Two ways of running js
-
giving a file
-
-
writing code in script tag
-
-
Both cannot be done at same time
-
-
giving a file