事件触发作业

Original 2018-12-05 14:12:58 182
abstract:<!DOCTYPE html><html><head> <title>事件触发</title></head><body><script type="text/javascript">function myfovus(x){ x.style.background="red&q

<!DOCTYPE html>

<html>

<head>

<title>事件触发</title>

</head>

<body>

<script type="text/javascript">

function myfovus(x){

x.style.background="red"

}

function myclic(y) {

y.style.borderRadius="20PX"

}

</script>

姓名:<input type="text" onmouseenter="myfovus(this)" >

<br>

<br>

<br>

<div style="width:100px;height: 100px;border:2px solid #ccc;background: #3415"  onmouseup="myclic(this)">

</div>



</body>

</html>


Correcting teacher:天蓬老师Correction time:2018-12-05 15:28:51
Teacher's summary:最好说明一下程序的目的是做什么的,还有必要的注释

Release Notes

Popular Entries