<html>
<head>
<title>表单标记</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<form action="hello.html" method="get">
用户名:<input type="text" name="username" size="18">
<br/>
密   码:<input type="password" name="password" size="18"/>
<br/>
性   别:<input type="radio" id="r1" name="gender" value="1" checked="checked">
<label for="r1">男</label>
</input>
<input type="radio" id="r2" name="gender" value="0">
<label for="r2">女</label>
</input>
<br/>
爱   好:<input type="checkbox" name="hobby" value="1">游泳</input>
<input type="checkbox" name="hobby" value="1">学习</input>
<input type="checkbox" name="hobby" value="1">吃饭</input>
<br/>
籍   贯:<select>
<option value="SX">山西</option>
<option value="SD" selected="selected">山东</option>
<option value="SH">上海</option>
<option value="BJ">北京</option>
<option value="GD">广东</option>
<option value="SY">沈阳</option>
</select>
<br/>
文   件:<input type="file"/>
<br/>
简   介:<textarea name="describe" rows="4"></textarea >
<br/>
<input type="submit" value="提交"/>
<input type="reset" value ="重置"/>
<input type="button" value ="按钮"/>
<input type="image" name="submit" src="girl1.gif"/>
<input type="hidden" name="hidden" value="haha"/>
</body>
</html> |
|