PrepAway - Latest Free Exam Questions & Answers

Which of the following changes will make this code function correctly?

Consider the following VBScript code:
<P><FONT COLOR=”crimson” FACE=”Arial” SIZE=”4″ >Hi </FONT></P>
<SCRIPT>

<!–coloredfont.style.color = “ourcolor”
–>
</SCRIPT>
<SCRIPT>
Sub coloredfont_onmouseover ()
coloredfont.style.color =”Green”
End Sub
Sub coloredfont_onmouseout ()
coloredfont.style.color =”crimson”
End Sub
</SCRIPT>
Which of the following changes will make this code function correctly?

PrepAway - Latest Free Exam Questions & Answers

A.
End each line of code with a semicolon.

B.
Combine the two scripts into one script.

C.
Run the scripts on a server, not a client.

D.
Specify the script language.


Leave a Reply