以下是table中的一个字段信息,我现在想把它加上链接,一点就弹出新窗口,链接到www.haidao.com 。此外,鼠标放上“海岛大酒店”时,颜色变成红色的。请高手帮我写出来。谢谢!<td align="center" colspan="2"><a ><FONT  ><SPAN lang=EN-US >海岛大酒店</SPAN></FONT></a></td>

解决方案 »

  1.   

     <td align="center" colspan="2"> <a href="http://www.haidao.com" target="_blank"> <FONT  > <SPAN lang=EN-US onmousemove='javascript:this.style.color="red"'  onmouseout='javascript:this.style.color="black"' >海岛大酒店 </SPAN> </FONT> </a> </td>
      

  2.   

    <td align="center" colspan="2"> <a > <FONT  > href = www.haidao.com <SPAN lang=EN-US >海岛大酒店 </SPAN> </FONT> </a> </td>
    鼠标放上后颜色变红貌似得写JS
      

  3.   

    mouse动作也可以放到<a>内
      

  4.   

    我要开骂了!!!!
    毕业都一年了。html和css的东西都不知道!!
    a:hover{color:red}
    <a href="sss" target="_blank">dsgjksdlhksdjkl</a>
      

  5.   

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title></title>
    <style type="text/css">
    a{color:#000000; font-size:12px; text-decoration:none;}
    a:hover,a:actived{color:#FF0000;}
    </style>
    </head><body>
    <a href="http://www.haidao.com" target="_blank">海岛大酒店</a>
    </body>
    </html>
    来晚了