摘要:<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>事件</title>
</head>
<body>
<script>
function myfovus(x){
x.sty
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>事件</title>
</head>
<body>
<script>
function myfovus(x){
x.style.background="pink"
}
function myclic(y){
y.style.borderRadius="50px"
y.style.background="pink"
}
</script>
姓名:<input type="text" onmouseover="myfovus(this)">
<br>
<br>
<div style="width:100px;height:100px;border:1px solid #ccc;"onmouseover="myclic(this) ">
</div>
</body>
</html>