名字:<input type="text" name="username"/><br/>
密码:<input type="password" name="pwd"/><br/>
喜欢的水果<br/>
<input type="checkbox" name="v1"/>西瓜<br/>
<input type="checkbox" name="v1"/>苹果<br/>
选择性别<br/>
<input type="radio" name="sex"/>男<br/>
<input type="radio" name="sex"/>女<br/>
隐藏的表单(即可提交数据同时不影响界面)<br/>
<input type="hidden" value="123" name="sal"/>
下拉框<br/>
请选择你的出生地:
<select name="biradd" size=2 multiple>
<option value="">--请选择--</option>
<option value="beijing">北京</option>
<option value="shanghai">上海</option>
</select><br/>
请留言<br/>
<textarea cols="30" rows="10">请在这里输入。。。</textarea><br/>
请选择文件<br/>
<input type="file" name="myfile"/>请选择文件
复选框的名字必须是一样的不然就表示两个复选框。