Welcome to WebmasterWorld Guest from 54.147.44.13

Forum Moderators: open

Message Too Old, No Replies

How to include javascript into html file

     
9:33 am on Aug 7, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:June 6, 2005
posts:71
votes: 0


Hi

I have three java scripts like this

-----------------------------------------------
<script type="text/javascript">
...........script.........
</script>

<script type="text/javascript">
...........script.........
</script>

<script type="text/javascript">
...........script.........
</script>
----------------------------------------------

I need to combine the three java scripts above to one file like abc.js and How can I include abc.js it into html file?

9:43 am on Aug 7, 2005 (gmt 0)

New User

10+ Year Member

joined:Aug 4, 2005
posts:11
votes: 0


Hey Naty, it's actually a really simple procedure.

Just put this code in your header:

<script type="text/JavaScript" src="abc.js"></script>