how to set alert time in html form code example Example: simple alert program in javascript alert("this is the alert")