1、点击按钮在新窗口打开页面:
2、点击按钮在当前窗口打开页面:
3、在按钮中添加小图片:
Tags - 代码 , 按钮 , 超链接
<input type=button onclick="window.open('http://cmcc.cn')" value="在新窗口">
2、点击按钮在当前窗口打开页面:
<input type=button onclick="window.location.href='http://lvjin.job.sh'" value="当前窗口">
3、在按钮中添加小图片:
<button onclick="window.open('http://v.cmcc.cn')" style="width:100px;height:40px;" value="提交">
<img src="1.gif" class="img"/> <a class="text">提交</a>
<img src="1.gif" class="img"/> <a class="text">提交</a>
Tags - 代码 , 按钮 , 超链接