<html> 
 <head> 
  <title>change style</title> 
  <style><!-- 
  .bigchange{color:blue;font-weight:bolder;font-size:225%; 
  letter-spacing:4px;background:yellow;} 
  .start{color:yellow;background:navy;} 
   --></style> 
 </head> 
<body> 
  <h1>动态改变样式</h1> 
  <p>请把鼠标移到蓝色背景的文字下面。</p> 
  <p>我们使用"class"类属性来改变文档的样式。 
  <span
    onmouseover="this.className='bigchange'"
    onmouseout="this.className='start'"
    class="start" 
    style="cursor:hand"
   >放大这段文本。 </span> </p>
</body>
</html> 注意大小写:
classname => className  //JS里对大小都是非常敏感的

解决方案 »

  1.   

    <html> 
    <head> 
    <title>change style</title> 
    <style> 
    <!-- 
    .bigchange{color:blue;font-weight:bolder;font-size:225%; 
    letter-spacing:4px;background:yellow;} 
    //*定义bigchange类的字体的颜色、粗细、大小,字间距,背景色*// 
    .starte{color:yellow;background:navy;} 
    //*定义start类的字体的颜色和背景色*// 
     --> 
    </style> 
    <script>
    function fun()
    {
        if(tes.className == 'starte')
            tes.className = 'bigchange';
        else
            tes.className = 'starte';
    }
    </script>
    </head><body> 
    <h1>动态改变样式</h1> 
    <p>请把鼠标移到蓝色背景的文字下面。</p> 
    <p>我们使用"class"类属性来改变文档的样式。 
    <span id = 'tes' onmouseover="fun();" 
    onmouseout="fun();" class="starte" 
          style="cursor:hand"> 
    放大这段文本。 </span> </p> </body> 
    //*定义鼠标触发事件,当鼠标放上去的时候,区域内以bigchange类的格式显示, 
    当鼠标离开的时候,以start类显示*// 
    </body>
    </html>
      

  2.   

    点右上角的管理进入给分页面,选中xhbmj(喋喋不休)前面的复选框,打上对勾。在右侧的分数里面输入20,确认无误后。输入您的密码,点击给分!OK 恭喜你,你已经成功给分