Javascript code can be inserted in a webpage either inside <head> tag or in body of webpage.
Javascript codes are inserted inside <script> tag.
There are two ways to insert javascript code:
1. Put your code inside script tags
2. Connect a javascript (.js) file saved in same root folder.
3. Connect javascript from another domain.
Accordingly you can change it by giving different attributes.
0 comments:
Post a Comment