PrepAway - Latest Free Exam Questions & Answers

Which example correctly implements inline scripting with JavaScript?

Which example correctly implements inline scripting with JavaScript?

PrepAway - Latest Free Exam Questions & Answers

A.
<input type=”button” value=”Click Here!” onclick=” ” />

B.
<input type=”button” value=”Click Here!” onclick=”myGreeting();” />

C.
<input type=”button” value=”Click Here!” onclick=”alert(‘Hello World! ‘); ” />

D.
<input type=”button” value=”Click Here!” />

Explanation:


Leave a Reply