<!DOCTYPE html> <html> <title>Web Page Design</title> <head> <script> function msg() { alert("hello java"); } </script> </head> <body> <form> <input type="button" value="click" onclick="msg()"/> </form> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more