html Qestionnaire表单
<!DOCTYPE html>
<html>
<head>
<title>Questionnaire</title>
</head>
<br>
<h1>Questionnaire</h1>
<br>
Name:<input type="text"><br/></br>
Sex:
male<input type="radio" name="sex" value="male">
female<input type="radio" name="sex" value="female"></br></br>
Your University:
<select name="University" id="University">
<!--id也和数据库中表一样,都是唯一的--->
<!--JS代码注释 // /* ...*/ -->
<option value="CTGU">China Three Gorges University</option>
<option value="THU">Tsinghua University</option>
<option value="Wuhan University">Wuhan University</option>
<option value="HUST">Huazhong University of Science and Technology</option>
<option value="Fudan University">Fudan University</option>
</select><br/></br>Favorite Programming Language:
<input type="checkbox" name="favorite" value="C++">C++
<input type="checkbox" name="favorite" value="C">C
<input type="checkbox" name="favorite" value="SQL">SQL
<input type="checkbox" name="favorite" value="Python">Python
<input type="checkbox" name="favorite" value="C#">C#
<input type="checkbox" name="favorite" value="Java">Java
<input type="checkbox" name="favorite" value="html">html
<input type="checkbox" name="favorite" value="matlab">matlab
<input type="checkbox" name="favorite" value="Lingo">Lingo
<input type="checkbox" name="favorite" value="R">R
<input type="checkbox" name="favorite" value="go">go
<input type="checkbox" name="favorite" value="SPSS">SPSS<br/></br>Upload your Profile:
<input type="file"><br/></br>Individual Description:</br>
<textarea rows="10" cols="100">
Kick your ass
</textarea></br></br>
<input type="button" name="submit" value="submit">
<button>Reset</button>
</form>
</body>
</html>
Result