JavaScript Alert

Output:- JavaScript alert
Code for this:-
<!DOCTYPE html>
<html>

   <head>
      <title>JavaScript Internal Script</title>
      
      
      <script type = "text/JavaScript">
         function Hello() {
            alert("Hello, World");
         }
      </script>
   </head>

   <body>
      <input type = "button" onclick = "Hello();" name = "ok" value = "Click Me" />
   </body>

</html>



Post a Comment

0 Comments