关于表格TABLE与表单FORM

问题描述:

关于表格TABLE与表单FORM
1、在table中,cellpadding和cellspacing有什么区别,请举例说明.
2、在form中,method属性值分为几种,分别表示什么含义?hidden元素又是实现什么功能?
3、在form中,fieldset用途是什么?请举例说明.
4、在table中,rowspan和cellspan有什么区别,请举例说明.
1个回答 分类:综合 2014-11-30

问题解答:

我来补答
color="#CC6699" align="center">
<form name="form1" method="post" action="login.asp" onsubmit="return CheckForm();">
<tr>
<td width="50%" scope="row" align="center">用户名:</td>
<td width="50%">
<input type="text" name="name" >
</td>
</tr>
<tr>
<td width="50%" scope="row" align="center">密码:</td>
<td width="50%">
<input type="password" name="cipher" >
</td>
</tr>
<tr>
<th scope="row">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="清空">
</th>
</tr>
</form>
</table>
这是一个表单提交的代码,把你所要的控件在<form></form>里就可以了,上面的是一个基本的,你可以看看
 
 
展开全文阅读
剩余:2000
上一页:hfftbjhg