Name of Program - Type name and print it on display screen or web browser
Code Input
<!DOCTYPE html>
<HTML>
<HEAD>
<SCRIPT>
var name = prompt("Enter Your name:");
var msg = "Welcome "+name;
//alert(msg);
document.write(msg);
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
Code View
A. Input View
B. Output View
Post a Comment