<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表单标签</title>
</head>
<body>
<form action="" method="post">
文本编辑框:<input type="text" name="username" maxlength="6" readonly="readonly" disabled="disabled" value="默认值" >
<br/>
密码输入:<input type="password" name="password" maxlength="12">
<br>
性别:<input type="radio" name="gender" checked="checked">男<input type="radio" name="gender">女
<br>
地址:<select multiple="multiple">
<option>河北省</option>
<option>山东</option>
<option>陕西</option>
<option>四川省</option>
<option selected="selected">北京</option>
</select>
<select>
<optgroup label="四川省">
<option>成都市</option>
<option>绵阳市</option>
<option>眉山市</option>
<option>南充市</option>
</optgroup>
</select>
<br>
兴趣爱好:<input type="checkbox" name="" checked="checked">打麻将
<input type="checkbox" name="" >斗地主
<br>
多行文本框:<textarea cols="120" rows="10"></textarea>
<br>
文件上传:<input type="file" name="">
<br>
<input type="submit" name="" >
<br>
<input type="image" src="../img/1.jpg">
<br>
<input type="button" value="提交">
<br>
<input type="reset">
<br>
<fieldset>
<legend>信息分组</legend>
</fieldset>
</form>
</body>
</html>