文本框

1.文本框 yes是必须写成那样 no是个以随便写  (yes wo no)我们为了规格而写
用户名:普通的文本框(yes wo no)
<input type="text" name="username" value="请输入你的用户名" size="20'/>
1.type="yes" name="no" value="no" size="可以控制输入框的长度(但是没有
实际效果)不可以用像素去控制"

2.密码框(yes wo no)
1。<input type="password" name="password" value="password" size="12"/>
2. type="yes" name="no" value="no" size="可以控制输入框的长度(但是没有
实际效果)不可以用像素去控制"

3.单选按钮 (男 。女)(yes wo no)
1.<input type="radio" name="sex" value="1" ckecked="checked"/>男
2.<input type="radio" name="sex" value="0"/> 女
3.type="yes" name="no 但是必须相同" value="no 但是必须不同"ckecked=“yes"
(是默认选择的事件可以在更改。)
4.定义可点击的按钮 (yes wo no)
1。<input type="button" {name="ewew" value="ewee"}/>
2.type="yes"定义可点击的按钮(配像没什么意义 ?
5.没有form等于零{只要在form里面的输入框都可以提交}
1.<form action="' method="post" enctype="multipaet/torm-data" >
<input type="file" name="file" /> 定义输入字段和 "浏览..." 按钮,供文件上传
<input type="submit" value="提交”/>
<input type="color"/>定义拾色器。
<input type="date"/>定义日期字段(带有 calendar 控件)
<input type="datetime"/>定义日期字段(带有calendar和time控件)
<input type="datetime-local"/>定义日期字段(带有 calendar 和 time 控件)
<input type="time"/>定义日期字段的时、分、秒(带有 time 控件)
<input type="week"/>定义日期字段的周(带有 calendar 控件)
<input type="url"/>定义用于 URL 的文本字段。
<input type="hidden"/>定义隐藏输入字段
<input type="tel"/>定义用于电话号码的文本字段。
<input type="search"/>定义用于搜索的文本字段。
<input type="range" min="0" nax="10" value="0"/>
type="yes" min<中间的数字>nax value是最小值
<input type="number" min="0" nax="10" value="0"/>
type="yes" min<中间的数字>nax value是最小值
</form>

posted @ 2016-08-04 12:03  刘文武  阅读(335)  评论(0编辑  收藏  举报