JAVASCRIPT
javascript is used in three different ways these are :-
- HEAD
- BODY
- EXTERNAL
3.EXTERNAL:-in external javascript we need to create a two different files.One file is used for external script which is saved on ".js "extension. another file is used for html in which script is used to provide a sourse of external file<script src="filename.js"></script>.
eg:-
this file is saved on "ext.js" extension.
in this script src provides the extension of external java script file.
No comments:
Post a Comment