个人资料  代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>个人资料 </title>
  <meta http-equiv="content-type" content="text/html; charset=gb2312" />
 </head>

 <body>
  <form id="frminfo" name="frminfo" action="" method="post">
  <fieldset>
  <legend>请输入个人资料</legend>
  <p>
  <label for="username">姓名:</label>
  <input type="text" name="username" size="30" maxlength="16" tabindex="1" />
</p>
<p>
<label for="sex">性别:</label>
<input type="radio" name="sex" id="男" checked>男</input>
<input type="radio" name="sex" id="女">女</input>
</p>
<p>学历
<select name="select">
<option value="高中一下">高中以下</option>
<option value="中专">中专</option>
<option value="大专">大专</option>
<option value="本科">本科</option>
<option value="博士">博士</option>
</select>
</p>
<p>爱好:
<input type="checkbox" name="fav" id="fav1" value="读书" checked>读书</input>
<input type="checkbox" name="fav" id="fav2" value="旅游">旅游</input>
<input type="checkbox" name="fav" id="fav3" value="美食">美食</input>
<input type="checkbox" name="fav" id="fav4" value="音乐">音乐</input>
<input type="checkbox" name="fav" id="fav5" value="运动">运动</input>

</p>
<p>特长:
<textarea name="textarea" id="textarea" cols="40"></textarea>
</p>

<br>
<p>
<input type="submit" id="submit" tabindex="3" value="提交" />
<input type="reset" id="reset" tabindex="4" value="重置" />
</p>

  </fieldset>
 
  </form>
 </body>
</html>

posted @ 2010-12-11 21:12  刘竹青  阅读(142)  评论(0编辑  收藏  举报