0
点赞
收藏
分享

微信扫一扫

html按钮button加超链接

仲秋花似锦 2023-04-14 阅读 62


1.如果让本页转向新的页面则用:
<input type=button οnclick="window.location.href('连接')">
2.如果需要打开一个新的页面进行转向,则用:
<input type=button οnclick="window.open('连接')">

举报

相关推荐

0 条评论