Dynadot โ€” .com Transfer

Java script in external file

SpaceshipSpaceship
Watch
Impact
18
hi

can you guys tell me how cna i put java script in external file

can i put it in .js? if yes how?

regards
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Yes,

HTML:
<script src="filename.js" language="javascript"></script>
 
0
•••
ok great thanks..

and in js do i have to <script...></scirpt> tag also?
 
0
•••
no
 
0
•••
well I not necessary but I think you should It help the browser understand a little better. I m not sure but I think that's the reason otherwise why would programmers
be using it?
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back