您的位置:首页 > Web前端 > HTML

html表单综合联系

2017-08-01 19:09 148 查看
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表单标签综合练习</title>
</head>
<body>
<div align="center">
名字:<input type="text" name="username"/><br/><br/>
密码:<input type="password" name="password"/><br/><br/>
水果:
<input type="checkbox" name="v1"/>苹果
<input type="checkbox" name="v1"/>梨
<input type="checkbox" name="v1"/>香蕉
<input type="checkbox" name="v1"/>西瓜<br/><br/>
性别:
<input type="radio" name="sex"/>男
<input type="radio" name="sex"/>女<br/><br/>
<!--***隐藏***(用于表单提交数据的唯一标识)-->
<input type="hidden" value="123" name="sal"/>
出生地:
<select name="birth">
<option value="beijing">北京</option>
<option value="shanghai">上海</option>
<option value="chongqing">重庆</option>
<option value="tianjin">天津</option>
</select><br/><br/>
请留言<br/>
     <textarea rows="10" cols="30">这里请输入...</textarea><br/>
上传的文件:
<input type="file" name="myfire"/>请选择文件
</div>
</body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: