Multiple Choice
William wants to create a dialog box in his website to display the message "My name is William". Which of the following syntaxes must William use to display the message?
A) alert("My name is William")
B) confirm("My name is William")
C) prompt("My name is William")
D) print("My name is William")
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Which of the following keyboard event properties
Q7: Which of the following JavaScript expressions is
Q8: The mouseout event indicates the movement of
Q9: The evt.pageY property returns the vertical coordinate
Q10: The event property evt.key returns the text
Q12: Discuss the challenges and features of anonymous
Q13: Identify the syntax to add an event
Q14: Identify a true statement about a function
Q15: John has created an object called Pines.
Q16: Which of the following statements is true