-
在button标签外面加上 a 标签
<a href="指定的url"><input type="button" value="按钮"/></a>
-
使用onclick触发事件
(1). 单独加一个链接
<button onclick="window.location.href='指定位置的url'">按钮</button> 或者 <input type="button" value="按钮" onclick="location=‘指定位置的url’"/>
(2). 单独编写js函数
<script>
fuction check(){
window.location.href='指定位置的url'
}
</script>
<input type="button" value="按钮" onclick="check()">
e="按钮" onclick="check()">