Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

How to add javascript file reference in the web page?

user-image
Question ajoutée par Syed Kamran Hyder , Senior UI/UX / Web & Graphic Designer / SharePoint Designer , Saudi Basic Industries Corporation (SABIC)
Date de publication: 2012/12/18
Murad Bin Makhashin
par 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
par 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....

Utilisateur supprimé
par Utilisateur supprimé

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

More Questions Like This