Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to add javascript file reference in the web page?

user-image
Question added by Syed Kamran Hyder , Senior UI/UX / Web & Graphic Designer / SharePoint Designer , Saudi Basic Industries Corporation (SABIC)
Date Posted: 2012/12/18
Murad Bin Makhashin
by Murad Bin Makhashin , Software Developer , Dar Al Tamleek

You add a reference to a JavaScript file inside the "head" tag of your HTML, for example Please note that you cannot use the short hand you have to provide a close tag.
Many thanks,

Shivani Sharma
by Shivani Sharma , Manager , none

Hi - Well javascript files can be added two ways, first you can add external files saved in the JS folder in the section of the html page, you can add special java scripts in to section of a web page....

Deleted user
by Deleted user

We can use <script> tag to refer the .js file available on the server, we can not only refer only those file that are on our server

in body tag we use javascript

More Questions Like This