XHTML表单

<html>
<head>
<title>创建表单实例--密码输入框</title>
</head>
<body>
<form name="myform" name="myform" action="#" method="get">
<input type="hidden" id="e-mail" name="liu" value="liu3617@126.com" />
<p>姓<input type="text" name="firstname" size="30" maxlength="25" value="liu" readonly="readonly" /></p><br />
<p>名<input type="text" name="lastname" size="30" maxlength="25" value="fdsfs" disabled="disabled" /></p><br />
<p>口令<input type="password" name="passwd" size="30" maxlength="25" /><p><br />


<p>请以word文档格式提供你的简历</p>
<input type="file" name="resume" enctype="form/multipart" />

 


<p>请选择想去的城市</p>
<p>
<input type="checkbox" name="city" id="cs"
 value="changsha" checked="checked">长沙</input><br />
 <input type="checkbox" name="city" id="sh" value="shanghai">上海</input><br />
 <input type="checkbox" name="city" id="cd" value="chengdu">成都</input><br />
 <input type="checkbox" name="city" id="xa" value="xian">西安</input><br />
</p>

<fieldset>
<p>
<legend>性别<legend>
</p>
<p>
<input type="radio" name="gender" id="male" value="male" checked>男</input><br />
<input type="radio" name="gender" id="female" value="female">女</input><br />
</p>
</fieldset>

 


<p>你喜欢的菜是什么?</p>
<select name="food" multiple="multiple" size="4">
<option value="sachuan">川菜</option>
<option value="guangdong">广东菜</option>
<option value="beifang">北方菜</option>
<option value="shanghai" selected="selected">上海菜</option>
<option value="west">西餐</option>
<option value="tailand">泰国菜</option>
<option value="hunan">湖南菜</option>
</select><br />
<br>
<br>

<p>
<input type="button" value="增加" />
<input type="button" value="删除" />
</p>

 

<br>
<br>
<textarea rows="20" cols="35" name="comment">请输入文本</textarea><br />

 

<br>
<br>
<p>
<label for="fname"><u>F</u>irstname:</label>
<input type="text" name="fname" value="" size="30" tabindex="3" accesskey="F" />
</p>

<br>
<br>

 


<input type="submit" value="发送" />
<input type="reset" value="取消" />
</form>
</body>
</html>

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