<html> <head> </head> <body> <input type="button" value="Click here" onmousedown="alert('You just pressed down on a mouse button')"> Click your mouse on button. </body> </html>