<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

解决方案 »

  1.   

    <script language="jacascript">
    改成
    <script language="javascript">
      

  2.   

    </htmnl>
    </html>
    太粗心了啊
      

  3.   


    <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>