<!DOCTYPE html> <html lang="ja"> <head> <title>GD#03 クリックイベント</title> <script type="text/javascript" src="hello.js"></script> <style> body {background: #eef;} </style> </head> <body> <h1>クリックイベント</h1> <p id="alert">警告ダイアログ</p> <p id="confirm">選択ダイアログ</p> <p id="prompt">入力ダイアログ</p> </body> </html>