Output:-
JavaScript alert
Code for this:-
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>
0 Comments