NIELIT O Level Exam

Where is Client-side JavaScript code is embedded within HTML documents?

Where is Client-side JavaScript code is embedded within HTML documents?

क्लाइंट-साइड जावास्क्रिप्ट कोड HTML दस्तावेज़ों में कहाँ एम्बेड किया गया है?

A. A URL that uses the special javascript:code एक यूआरएल जो विशेष जावास्क्रिप्ट का उपयोग करता है: कोड

B. A URL that uses the special javascript:protocol एक यूआरएल जो विशेष जावास्क्रिप्ट का उपयोग करता है: प्रोटोकॉल

C. A URL that uses the special javascript:encoding एक यूआरएल जो विशेष जावास्क्रिप्ट का उपयोग करता है: एन्कोडिंग

D. A URL that uses the special javascript:stack एक यूआरएल जो विशेष जावास्क्रिप्ट का उपयोग करता है: स्टैक




Correct Answer is :

B. A URL that uses the special javascript:protocol



Explanation
The Client-side JavaScript code is embedded within HTML documents in four ways : Inline, between a pair of “script” tags From an external file specified by the src attribute of a “script” tag In an HTML event handler attribute, such as onclick or onmouseover In a URL that uses the special javascript: protocol.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad