html中input按钮怎么添加超链接
2016-11-17 15:09
253 查看
比较完整的写法:
<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('连接')">
比较完整的写法:
<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('连接')">
相关文章推荐
- html中input按钮怎么添加超链接
- 鼠标放在button按钮颜色改变、、input按钮怎么添加超链接
- HTML里怎么给普通按钮添加超链接
- html中怎么把按钮做成超链接效果
- html点击按钮动态添加input文本框
- html按钮button怎么加超链接
- html按钮button怎么加超链接
- html按钮button怎么加超链接
- AspxhtmlEditor添加自定义按钮
- html 按钮(input type="button") onclick 页面转跳
- 怎么改变html里file的按钮的值
- HTML控件Input(File)中如何把浏览按钮的背景更换成图片
- HtmlInputRadio 收音机按钮控件
- 创建一个flash as3.0按钮并添加超链接
- openInfoWindowTabsHtml中添加最大化按钮
- 超链接按钮(转自http://www.cnblogs.com/cxy521/archive/2008/01/22/1048621.html)
- 给超链接A添加按钮样式
- 怎么在IE右键菜单中添加菜单项及怎么添加IE任务栏按钮
- 页面上有个添加按钮,程序运行成功的,当我添加一条记录后刷新页面,它自动又添加一条,这样怎么修改?
- 关于Html动态添加上传文件控件inputFile(附件)及清除已选择的文件的几个方法