< html > < head > < title > study 002 </ title > </ head > < body > < h1 > 事件测试 </ h1 > < button onclick ="alert('你点击了这个按钮!')" >< b > 按钮 </ b ></ button > </ body > </ html >