abstract:<!DOCTYPE html><html><head> <meta charset=utf-8" /> <title>HTML事件</title> </head><body> <script
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8" />
<title>HTML事件</title>
</head>
<body>
<script type="text/javascript">
function myfovus(x){
x.style.background="pink"
}
</script>
姓名:<input type="text" onfocus="myfovus(this)">
</body>
</html>
Correcting teacher:灭绝师太Correction time:2018-11-19 10:53:23
Teacher's summary:掌握的不错,但是需要你把事件方法一一测试一下啊,不要偷懒