<!DOCTYPE HTML PUBLIC "-//W3C//DTDHTML 4.0 Transitional//EN">
<html>
<head>
<scripttype="text/javascript">
function link_to(address)
{
window.location.href=address;
}
</script>
</head>
<body>
<input type="button" value="按钮标题"οnclick=location.href="address"'> /* 如: http://www.baidu.com 注:http://不可少*/
</body>
</html>
或者: <a href=http://www.baidu.com ><input type=button value=百度></a>
给按钮添加一个链接
最新推荐文章于 2022-09-14 17:26:02 发布