ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to add javascript file reference in the web page?

user-image
تم إضافة السؤال من قبل Syed Kamran Hyder , Senior UI/UX / Web & Graphic Designer / SharePoint Designer , Saudi Basic Industries Corporation (SABIC)
تاريخ النشر: 2012/12/18
Murad Bin Makhashin
من قبل 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
من قبل 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....

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

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟