首页 > Web开发 > 详细

html控件使用

时间:2015-06-22 20:32:24      阅读:275      评论:0      收藏:0      [点我收藏+]
<html>
<head>
<title>登录页面</title>
</head>
<body>
<form action="a2.html" method="post">
用户名:<input type="text" name="username"/><br/>&nbsp;&nbsp;码:<input type="password" name="password"/><br/>
您喜欢的城市:
<input type="checkbox" name="city" value="beijing">北京
<input type="checkbox" name="city" value="shanghai">上海
<input type="checkbox" name="city" value="tianjin">天津
<br/>
您的性别是:
<input type ="radio" name="sex" value="man"><input type ="radio" name="sex" value="woman"><br/> 
你所在的城市:
<select name="like">
<option value="jilin" selected>吉林</option>
<option value="shanghai">上海</option>
<option value="chongqing">重庆</option>
</select><br/>
<textarea name="mytext" cols="40" rows="10">
</textarea><br/>
<input type="file" name="myfile">上传文件<br/>
<input type="submit" value="登录系统"/>
<input type ="reset" value="重新填写"/>
<br/>
<input type="image" src="2.jpg" >
</form>
</body>
</html>

 

html控件使用

原文:http://www.cnblogs.com/wumac/p/4593654.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!