Display an alert dialog
<html> <body> <input type="button" onClick="alert('This is an alert window');" value="Click me"> </body> </html>