NIELIT O Level Exam

Which is the correct syntax to call an external JavaScript file in the current HTML document ?

Which is the correct syntax to call an external JavaScript file in the current HTML document ?

वर्तमान HTML दस्तावेज़ में बाहरी जावास्क्रिप्ट फ़ाइल को कॉल करने के लिए सही सिंटैक्स कौन सा है?

A. <script src=" test.js"'></script>

B. <script href=" test.js"></script>

C. <import src=" test.js"></import>

D. <script link=" test.js"></script>




Correct Answer is :

A. <script src=" test.js"'></script>



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad