button with alert message

java script

by jamna

HTML

<button onclick="alert('You clicked the button');"> Click here </button>