当前位置:网站首页>Fashion cloud learning - input attribute summary
Fashion cloud learning - input attribute summary
2022-04-23 12:35:00 【Fashion cloud network】
article : Fashion cloud learning -input Attribute summary
input Label definition and instructions :
<input> The tag specifies the input fields in which users can input data .
<input> The elements are in <form> Use... In elements , Used to declare that users are allowed to enter data input Control .
Input fields can be changed in many ways , Depending on type attribute .
input attribute / value / brief introduction :
attribute | value | brief introduction |
---|---|---|
accept | audio/* video/* image/* MIME_type | Specify the type of file submitted by file upload . ( Only aim at type="file") |
align | left right top middle bottom | HTML5 obsolete , Disfavor use . Specify the alignment of the image input . ( Only aim at type="image") |
alt | text | Define alternative text for image input . ( Only aim at type="image") |
autocompleteNew | on off | autocomplete Property rules <input> Whether the element input field should have autocomplete enabled . |
autofocusNew | autofocus | Property specifies that when the page loads <input> Elements should automatically get focus . |
checked | checked | checked Property specifies that the page should be pre selected when loading <input> Elements . ( Only aim at type="checkbox" perhaps type="radio") |
disabled | disabled | disabled Property specifies that should be disabled <input> Elements . |
formNew | form_id | form Property rules <input> One or more forms to which the element belongs . |
formactionNew | URL | Property to handle the input control's file when the form is submitted URL.( Only aim at type="submit" and type="image") |
formenctypeNew | application/x-www-form-urlencoded multipart/form-data text/plain | Property specifies how the form data is encoded when submitted to the server ( Only suitable type="submit" and type="image"). |
formmethodNew | get post | Define sending form data to action URL Of HTTP Method . ( Only suitable type="submit" and type="image") |
formnovalidateNew | formnovalidate | formnovalidate Attribute coverage <form> Elemental novalidate attribute . |
formtargetNew | _blank _self _parent _top framename | Specify where to display the name or keyword of the received response after submitting the form .( Only suitable type="submit" and type="image") |
heightNew | pixels | Regulations <input> Height of element .( Only aim at type="image") |
listNew | datalist_id | Property reference <datalist> Elements , It includes <input> Predefined options for elements . |
maxNew | number date | Property rules <input> The maximum value of the element . |
maxlength | number | Property rules <input> Maximum number of characters allowed in element . |
minNew | number date | Property rules <input> The minimum value of the element . |
multipleNew | multiple | Property specifies that the user is allowed to enter into <input> Multiple values of the element . |
name | text | name Property rules <input> Name of element . |
patternNew | regexp | pattern Property specification is used to verify <input> Regular expressions for the values of elements . |
placeholderNew | text | placeholder Attribute specifies that the input can be described <input> A short prompt for the expected value of the field . |
readonly | readonly | readonly Property specifies that the input field is read-only . |
requiredNew | required | Property specifies that the input fields must be filled in before the form is submitted . |
size | number | size Property specifies in characters <input> The visible width of the element . |
src | URL | src Property specifies the name of the image displayed as a submit button URL. ( Only aim at type="image") |
stepNew | number | step Property rules <input> The legal number interval of the element . |
type | button Button type Choose a date and time ( No time zone ) type |
type Property specifies what to display <input> Type of element . |
value | text | Appoint <input> Elements value Value . |
widthNew | pixels | width Property rules <input> Width of element . ( Only aim at type="image") |
版权声明
本文为[Fashion cloud network]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231234589371.html
边栏推荐
- SynchronousQueue 源码解析
- NPDP | how can product managers not be excluded by programmers?
- Qt双缓冲绘图
- php生成json处理中文
- Introduction to metalama 4 Use fabric to manipulate items or namespaces
- 对称加密、证书加密
- Resolve disagrees about version of symbol device_ create
- 洛谷P3236 [HNOI2014]画框 题解
- QT double buffer drawing
- Dialogue with Bruce, author of PostgreSQL: "changing careers" is to better move forward
猜你喜欢
随机推荐
Metalama简介4.使用Fabric操作项目或命名空间
How do programmers finalize nucleic acid statistics with 130 lines of code
CGC: contractual graph clustering for community detection and tracking
AI video cloud vs narrowband HD, who is the darling of the video era
Uni app native app cloud packaging integrated Aurora push (jg-jpush) detailed tutorial
数组---
box-sizing
QT interprocess communication
免费试用一个月的服务器,并附上教程
leetcode:437. 路径总和 III【dfs 选还是不选?】
NBIOT的AT指令
Message queuing overview
第二十三课 临时对象
How to switch PHP version in Windows 2008 system
Buuctf Web [gxyctf2019] no dolls
c# 设置logo图标和快捷方式的图标
Qt进程间通信
天梯赛赛前练习
Realize several "Postures" in which a box is horizontally and vertically centered in the parent box
Web17——EL与JSTL的使用