html中标签点击打开新窗口&表单提交打开新页面

  1. <a></a>添加属性target="_blank|_self|_parent|_top|framename"
<a class="thumbnail" target="_blank|_self|_parent|_top|framename">
  1. 为表单添加属性target="_blank"
<form method="get" id="form" target="_blank">
    <div class="input-group" style="margin-top: 150px;margin-left: 260px;">
        <span class="input-group-btn">
            <button id="baidu" class="btn btn-primary" type="submit">百度一下</button>
        </span>
        <input id="search" type="text" class="form-control" placeholder="Search for..." name="wd">
    </div><!-- /input-group -->
</form>
上一篇:实验1 8086汇编指令编码和调试


下一篇:树莓派使用frp实现内网穿透