【发布时间】:2013-01-12 16:09:45
【问题描述】:
我想在列标题上方创建一个带有搜索文本框的表格
<table>
<thead>
<tr><td><input type="text" /></td><td><input type="text" /></td></tr>
<tr><td>Mother</td><td>Father</td></tr>
</thead>
<tbody id="search-results">
<!-- to be populated by AJAX response -->
</tbody>
</table>
表单元素可以这样吗?
<form>
<thead>...</thead>
</form>
或
<thead>
<form>...</form>
</thead>
还是哪条路?
另外,<input type="hidden" /> 可以放在表单标签之间的任何位置吗?
【问题讨论】:
标签: html