how to create an alert in html code example Example: simple alert program in javascript alert("this is the alert")