サマリー:<!DOCTYPE html> <html> <head> <title>事件學(xué)習(xí)</title> </head> <body> <script type="text/javascript"> function myfocus(a){ a.style
<!DOCTYPE html> <html> <head> <title>事件學(xué)習(xí)</title> </head> <body> <script type="text/javascript"> function myfocus(a){ a.style.background="red" } function myblur(a){ a.style.background="blue" } </script> 您的姓名:<input type="text" onfocus="myfocus(this)" onblur="myblur(this)"> </body> </html>
添削の先生:西門大官人添削時間:2019-03-03 16:22:19
先生のまとめ:作業(yè)寫的很好。在js代碼中,最好在每行加上";",規(guī)范一些