js基礎課題(3-2)
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>js基礎課題(3-1)</title><script> function word() {alert("マウスがクリックされた時・・・")}; </script> </head> <p> <input type="button" value="button" onClick="word()"; </p> </p> </body> </html>
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>js基礎課題(3-1)</title><script> function word() {alert("マウスがクリックされた時・・・")}; </script> </head> <p> <input type="button" value="button" onClick="word()"; </p> </p> </body> </html>