abstract:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>事件</title> </head> <body> <script type="text/javascript&quo
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>事件</title> </head> <body> <script type="text/javascript"> function myfovus(x){ x.style.background="red"; } function myfovus2(x){ x.style.background=""; } function myclic(y){ y.style.borderRadius="50px"; y.style.background="pink"; } </script> 姓名:<input type="text" onmouseover="myfovus(this)" onmouseout="myfovus2(this)"> <br> <br> <div style="width:100px;height:100px;border:1px solid #ccc;" onclick="myclic(this)"> </div> </body> </html>
Correcting teacher:查无此人Correction time:2019-07-27 11:20:24
Teacher's summary:完成的不错。js功能非常强大,要好好练习。继续加油。