a 跳转页面(get请求)
target四个值
_self (自己) _parent(父级) _blank(新节面) _top(最上层)
<iframe name=xxx></iframe>
<a target='xxx' href="http://baidu.com">打开百度</a>
// a target为iframe 的name时会在那里打开
<a href="javascript:alert(1);"></a>
//支持javascript
<a href="javascript:;">11</a>
//不作出响应的超链接
<a href="">11</a>
//还是会向自身发起请求,当前页面刷新
<form action="index.html" method="post">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" >//type 为submit才可以提交
<button>button</button>//当没有设定type是 button 会默认为submit 可以提交
<form>
//提交到 action的地方 提交格式为name:value
<label for="pwd">密码</label>
<input id="pwd" type="password" name="password">
//label for 与 input的id 一致 就会想关联,点label就会选中input
另一种写法
<label for="pwd">密码<input id="pwd" type="password" name="password"></label>
table 所拥有的标签
<table border="1" style="border-collapse: collapse">
<colgroup>
<col bgcolor="red"></col>
<col width="100"></col>
</colgroup>
<thead>
<tr>
<th>姓名</th>
<th>班级</th>
<th>性别</th>
</tr>
</thead>
<tbody>
<tr>
<td>张三</td>
<td>1班</td>
<td>男</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>李四</td>
<td>2班</td>
<td>男</td>
</tr>
</tfoot>
</table>