编写高质量代码[读书笔记]

表单

<form action="">
<fieldset>
<legend>登陆表单</legend>
<p><label for="user">帐号:</label><input type="text" name="user" id="user"/></p>
<p><label for="password">密码:</label><input type="text" name="password" id="password"/></p>
</fieldset>
</form>

fieldset{
border:none;
}
legend {
display: none;
}

表格
<table>
<caption>页面的比较</caption>
<thead>
<tr>
<th>实现方式</th>
<th>代码量</th>
<th>搜索引擎</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
</tbody>
</table>
posted @ 2015-11-30 11:24  Debugor  阅读(140)  评论(0编辑  收藏  举报