DISCRIPTION ABOUT ALERT BOX

1.An alert box is often used if you want to make sure information comes through to the user.
2.When an alert box pop-up, the user will have to click "OK" to proceed.
Syntax-
window.alert("sometext");


FOR EXAMPLE:-

<html> 
      <head> 
		<title>my java</title> 
      </head> 
	 <body> 
	 <script> 
	 alert("this is alert box"); 
	 document.write("GOVERNMENT GIRLS POLYTECHNIC"); 
	 </script> 
	 </body> 
</html>