Styles for a Tag
The
alert()
method displays an alert box with a specified message and an OK button.
The
confirm()
method displays a dialog box with a specified message, along with an OK and a Cancel button.