<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form enctype="multipart/form-data">
<div>
<input type="text" name="user" />
<select name="city">
<option value="1" selected="selected">广州</option>
<option value="2">纽约</option>
<option value="3">试试</option>
</select>
<input type="text" name="user" />
<select name="city" size="10" multiple="multiple" />
<option value="1" selected="selected">广州</option>
<option value="2">纽约</option>
<option value="3">试试</option>
</select>
<select name="city" size="10" />
<optgroup label="ggg">
<option value="1" >广州</option>
<option value="2">纽约</option>
<option value="3">试试</option>
</optgroup>
</select>
<p>请选择性别:</p>
男:<input type="radio" name="gender" value="1" checked="checked"/>
女:<input type="radio" name="gender" value="2"/>
<p>爱好:</p>
篮球:<input type="checkbox" name="favor" value="1" />
q球:<input type="checkbox" name="favor" value="2" />
a球:<input type="checkbox" name="favor" value="3" />
c球:<input type="checkbox" name="favor" value="4" />
g球:<input type="checkbox" name="favor" value="5" />
<p>jineng</p>
asd:<input type="radio" name="skill" value="1"/>
gbb:<input type="radio" name="skill" value="2"/>
<p>上传文件</p>
<input type="file" name="fname"/>
</div>
<textarea name="meno">sooele</textarea>
<input type="submit" value="提交">
<input type="reset" value="重置">
</form>
</body>
</html>
相关