Solved

William Wants to Create a Dialog Box in His Website

Question 11

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions