<body>
<div style="width:100px;height:100px;background-color:rgb(0,0,0);"
onmuseover="this.style.backgroundColor='rgb(255,255,255)'"
onmouseout="this.style.backgroundColor='rgb(0,0,0)'">
</div>
</body>
若是this.style.background-color='rgb(255,255,255)',则会代码出错