案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<img src="/img/eg_mouse2.jpg" onMouseDown="alert('You clicked the picture!')">
5
<p>Click the picture</p>
6
7
</body>
8
</html>