How to use external JavaScript file?

How to use external JavaScript file?

I am assuming that js file name is message.js, place the following script tag inside the head tag.

<script type="text/javascript" src="message.js"></script>

Also Read:-

Leave a Comment

Your email address will not be published. Required fields are marked *