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!” />
Explanation: