Which example correctly implements inline scripting with JavaScript?

Which example correctly implements inline scripting with JavaScript?

Which example correctly implements inline scripting with JavaScript?

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!" />



Leave a Reply 0

Your email address will not be published. Required fields are marked *