当鼠标悬停在按钮上时 web页背景颜色改变,当鼠标离开按钮,背景色恢复?
如下是我的代码:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<center>
<input type="submit" name="Submit" value="背景改变" onMouseOver="doucument.bgcolor='red'; return ture"></center>
onmouseover="this.bgColor='#ffffff'" onmouseout="this.bgColor='#fdsafd'" 这一行我不知道放哪?
</body>
</html>