Program 5.4 interaction with user
<html>
<head>
<title>interaction with user</title>
<body>
<center>
<form>
<input type="button" value="Alert"
onClick="alert('this is an alert dialog box please acknowledge it by means of Ok button')">
<input type="button" value="confirm" onClick="confirm('this is confirm dialog box')">
<input type="button" value="prompt"
onClick="prompt('you can add text here',' ')">
</form>
</center>
</body>
</head>
</html>
0 Comments