比较完整的写法:
<a href="链接">
<input type=button onclick="window.location.href('连接')">
</a>
注:
1.若直接在本页跳转到新的页面,则用: <input type=button onclick="window.location.href('连接')">
2.如果需要打开一个新的页面进行跳转,则用: <input type=button onclick="window.open('连接')">
© 2012-2024七七世界网站建设 20707.net 1125w.com 版权所有 豫ICP备14018694号-1