For the tutorials on below mentioned alerts look at here

Different types of Alerts

There are a few types of alerts which JavaScript defines. This page is a test page which contains all these alerts. You can click on write programs to handle these alerts. The tutorial is located here

Simple Alert Pop up

HTML code for such types of pop is


Confirm Alert box

HTML code for Confirm alerts is

Prompt Alert box

HTML code for prompt alerts is