44 :: What is the difference between an alert box and a confirmation box?An alert box displays only one button which is the OK button whereas the Confirm box displays two buttons namely OK and cancel.
45 :: What is a prompt box?A prompt box allows the user to enter input by providing a text box.
that is ,
document.write("Hello \ world");
is possible but not document.write \