1. 程式人生 > >給表格新增超連線

給表格新增超連線

<html>
<head>
<script>
function aaa(){
 window.location.href = "http://www.163.com"
}
</script>
</head>
<body>
<table bgcolor="blue" border=1>
<tr>
<td width="120" height="80" onclick="aaa();" style="cursor:hand">

</td>
</tr>
</table>
</body>
</html>