<html>
<head>
<title>会移动的</title>
<script language="jacascript">
function yidong(color){
document.bgColor=color;
}
</script>
<style type="text/css">
#color {
color:
}
</style>
</head>
<body id="color">
<h2>移动过,给你变颜色给你看看</h2>
<font size=4>
<span onmouseover="yidong('bule')">变蓝色|</span>
<span onmouseover="yidong('orange')">变橙色|</span>
<span onmouseover="yidong('red')">变红色|</span>
</font>
</body>
</htmnl>
WEB开发javascripthtml
<head>
<title>会移动的</title>
<script language="jacascript">
function yidong(color){
document.bgColor=color;
}
</script>
<style type="text/css">
#color {
color:
}
</style>
</head>
<body id="color">
<h2>移动过,给你变颜色给你看看</h2>
<font size=4>
<span onmouseover="yidong('bule')">变蓝色|</span>
<span onmouseover="yidong('orange')">变橙色|</span>
<span onmouseover="yidong('red')">变红色|</span>
</font>
</body>
</htmnl>
WEB开发javascripthtml
改成
<script language="javascript">
</html>
太粗心了啊
<html>
<head>
<title>会移动的</title>
<script>
function yidong(color){
document.bgColor=color;
}
</script>
<style type="text/css">
#color {
color:red
}
</style>
</head>
<body id="color">
<h2>移动过,给你变颜色给你看看</h2>
<font size=4>
<span onmouseover="yidong('bule')">变蓝色|</span>
<span onmouseover="yidong('orange')">变橙色|</span>
<span onmouseover="yidong('red')">变红色|</span>
</font>
</body>
</html>