1.
<iframe>
name:跟<a></a>结合使用
例:
<iframe name=xxx frameborder=‘0’></iframe>
<a target=xxx href='baidu.com'>百度</a>
解释:点击百度,在iframe标签内,打开百度页面
2.
<a></a>GET请求
target:_blank(空页面打开),_self(当前页面打开),_parent(父类页面打开),_top(顶层窗口打开)
download:下载
href:
1.#xxx ?name=names ./index.html
2.伪协议 javascript:;
3. //qq.com(无协议)
3.
<form>POST请求
input没有子元素 空标签
type:text password checkbox radio button number tel submit
name(作为第四部分,发送给服务器)
target:同a标签
form内如果没有提交按钮,但是有button,点击button会提交。
<input type=' checkbox' id='xxx'><label for='xxx'>选择</label>
点击选择,就等于点input
或者 label标签包裹住input标签,想过相同
<label><input type=' checkbox' id='xxx'></label>
<select name='' multiple(下拉框,多选)>
<option value=''>可以选择</option>
<option value=''>可以选择</option>
<option value='' selected>默认选择</option>
<option value='' disabled>不能选择</option>
</select>
<textarea style='resize:none;'>多文本框</textarea>
4.
<table>
<colgroup><col>
<thead>
th th表头
</thead>
<tbody>
tr td 内容,数据
</tbody>
<tfoot>
<table>