html表单
来源:互联网 发布:法国制造业年度数据 编辑:程序博客网 时间:2024/06/18 08:36
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表单</title>
</head>
<body>
<!--表单 -->
<!--*******method提交方式有get和post
*get地址栏携带提交数据,post不会携带
**get请求安全低,post比较高
***get有请求数据大小的限制,post没有-->
<form action="表单.html" method="get">
账号:<input type="text" name="username"><br> 密码:<input
type="password" name="password"><br>
<!--单选 checked默认选择 -->
性别:<input type="radio" value="boy" name="sex" checked="checked">男
<input type="radio" value="girl" name="sex">女<br> <input
type="file"><br>
<!--下拉框 selected 默认选择 -->
生日 <select name="birthday">
<option selected="selected" value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
</select><br>
<!-- 文本域 -->
个人简介<br>
<textarea rows="10" cols=""10></textarea>
<br> 隐藏内容代码看<input type="hidden"><br>
<!-- 按钮 -->
<input type="submit" value="提交" name=""><br> 头像<br>
<input type="image" src="" width="100" height="100" alt="你的头像真丑"><br>
<input type="reset" value="重置"><br> <input type="button"
value="普通按钮"><br>
</form>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>表单</title>
</head>
<body>
<!--表单 -->
<!--*******method提交方式有get和post
*get地址栏携带提交数据,post不会携带
**get请求安全低,post比较高
***get有请求数据大小的限制,post没有-->
<form action="表单.html" method="get">
账号:<input type="text" name="username"><br> 密码:<input
type="password" name="password"><br>
<!--单选 checked默认选择 -->
性别:<input type="radio" value="boy" name="sex" checked="checked">男
<input type="radio" value="girl" name="sex">女<br> <input
type="file"><br>
<!--下拉框 selected 默认选择 -->
生日 <select name="birthday">
<option selected="selected" value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
</select><br>
<!-- 文本域 -->
个人简介<br>
<textarea rows="10" cols=""10></textarea>
<br> 隐藏内容代码看<input type="hidden"><br>
<!-- 按钮 -->
<input type="submit" value="提交" name=""><br> 头像<br>
<input type="image" src="" width="100" height="100" alt="你的头像真丑"><br>
<input type="reset" value="重置"><br> <input type="button"
value="普通按钮"><br>
</form>
</body>
</html>
0 0
- html表单
- html表单
- html表单
- html:表单
- HTML表单
- HTML表单
- html表单
- HTML 表单
- HTML表单
- html表单
- html表单
- HTML表单
- html表单
- HTML表单
- HTML表单
- HTML表单
- html 表单
- html表单
- 1043. Is It a Binary Search Tree (25)
- 深入理解Android指纹
- sublime
- BZOJ 3495 [2-SAT]
- android音频系统解析
- html表单
- 剑指offer-面试题 16:反转链表
- 02 快速上手OpenCV
- 数值计算:一重积分计算的C++实现
- MATLAB中已知圆心和半径画圆
- Codeforces Round #409 div2 D
- javascript基础编程应用表单验证
- Flask开发(1)
- 《计算机网络原理》总结<一>---整体认识