美文网首页
input的type属性值

input的type属性值

作者: Yinzhishan | 来源:发表于2022-08-22 10:40 被阅读0次
input的type属性
<form action="" method="get">
<label>普通input:</label>
<input type="text"><br />
<label>多选框:</label>
<input name="a" type="checkbox"><br />
<input name="a" type="checkbox"><br />
<input name="a" type="checkbox"><br />
<label>单选框:</label>
<input name="b" type="radio"><br />
<input name="b" type="radio"><br />
<input name="b" type="radio"><br />
<label>数字:</label>
<input type="number"><br />
<label>拾色器:</label>
<input type="color"><br />
<label>日期+时间:</label>
<input type="datetime-local"><br />
<label>日期:</label>
<input type="date"><br />
<label>月份:</label>
<input type="month"><br />
<label>时间:</label>
<input type="time"><br />
<label>周:</label>
<input type="week"><br />
<label>email:</label>
<input type="email"><br />
<label>文件:</label>
<input type="file"><br />
<label>hidden:</label>
<input type="hidden"><br />
<label>image:</label>
<input type="image"
src="https://confluence.nexttao.com.cn/s/39ieod/8703/51…images/atlassian/atlassian-horizontal-neutral.svg"><br />
<label>密码:</label>
<input type="password"><br />
<label>电话:</label>
<input type="tal"><br />
<label>搜索:</label>
<input type="search"><br />
<label>搜索:</label>
<input type="search"><br />
<label>url:</label>
<input type="url"><br />
<label>范围组件:</label>
<input type="range"><br />
<label>按钮:</label>
<input type="button" value="按一下"><br />
<label>重置:</label>
<input type="reset"><br />
<label>提交:</label>
<input type="submit"><br />
</form>

相关文章

  • 微信小程序(组件--表单:交互控件)

    input输入框基础属性: input输入框组件–基础属性—type类型 type属性值 text:文本输入键盘 ...

  • 前端--07Day--表单的基础设置

    input input是我们使用的最多的表单项,它可以 根据不同的type属性呈现不同的状态。type属性可选值:...

  • 表单

    input input是我们使用的最多的表单项,它可以根据不同的type属性呈现不同的状态。 type属性可选值:...

  • form/label/input登录

    input标签的type属性对应的值有:buttoncheckboxfilehiddenimagepassword...

  • Sublime 学习web的表单基础知识

    表单 表单 input 标签 单标签 input 的type属性值 text 文字域的属性 图像域 按钮展示图...

  • input的type属性值

    普通input: 多选框: 单选框: 数字: 拾色器: 日期+时间: 日期: 月份: 时间: 周: email: ...

  • css(2016/2/26)

    css 规则{属性:值;} 不会点: 属性选择器 input[type=text][name=radio]

  • HTML进阶知识点--HTML5属性变化

    input标签type属性新增属性值 属性值作用tel手机端不同email手机端键盘出现@number出现按钮,可...

  • 表单的设置

    type属性的可选值:1、text 文本框2、password 密码框3、sub...

  • 2018-04-28 ajax无法正常提交。

    将input的type属性设成了submit,造成了ajax无法正常提交,需注意type属性的两个值‘submit...

网友评论

      本文标题:input的type属性值

      本文链接:https://www.haomeiwen.com/subject/idhigrtx.html