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
Q39: Which of the following event object methods
Q40: The _ element is continuously fired as
Q41: Which of the following is the correct
Q42: Identify the syntax to remove an event
Q43: Identify the sequence of the occurrence of
Q45: Identify the keyCode values of the modifier
Q46: Which of the following keyboard event properties
Q47: The keyCode values for the keys "1,
Q48: Identify the correct syntax to prevent a
Q49: Identify the syntax to add an event
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents