以下是table中的一个字段信息,我现在想把它加上链接,一点就弹出新窗口,链接到www.haidao.com 。此外,鼠标放上“海岛大酒店”时,颜色变成红色的。请高手帮我写出来。谢谢!<td align="center" colspan="2"><a ><FONT ><SPAN lang=EN-US >海岛大酒店</SPAN></FONT></a></td>
以下是table中的一个字段信息,我现在想把它加上链接,一点就弹出新窗口,链接到www.haidao.com 。此外,鼠标放上“海岛大酒店”时,颜色变成红色的。请高手帮我写出来。谢谢!<td align="center" colspan="2"><a ><FONT ><SPAN lang=EN-US >海岛大酒店</SPAN></FONT></a></td>
鼠标放上后颜色变红貌似得写JS
毕业都一年了。html和css的东西都不知道!!
a:hover{color:red}
<a href="sss" target="_blank">dsgjksdlhksdjkl</a>
<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>
来晚了