Use of the alert command


The box you already see on the screen appeared because of the following javascript code <script language="JavaScript"> alert("This is an alert-box.You can include any text here. You have to CLICK to PROCEED "); </script>

You may not see this line untill you have clicked "ok".
The presence of a return in the text gave me some trouble.
We can use buttons to make a more controlled use of alert-box as follows.