Mix simple code with HTML : Source File : Language Basics JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Language Basics » Source File »

 

Mix simple code with HTML

















<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--

//  -->
</script>
</head>
<body>
<p onclick="prompt('How many do you want','Enter quantity');">Click here to specify quantity</p>
</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Language Basics
» Source File