href属性可以用来实现按钮的链接跳转:
input type 中的onclick事件——<input type=button onclick="window.location.href('#')" />
HTML——button实现链接式跳转
最新推荐文章于 2024-05-19 09:55:27 发布
href属性可以用来实现按钮的链接跳转:
input type 中的onclick事件——<input type=button onclick="window.location.href('#')" />