当前位置:网站首页>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
边栏推荐
- Solution of asynchronous clock metastability -- multi bit signal
- [redis series] redis learning 13. Redis often asks simple interview questions
- S2-062 远程命令执行漏洞复现(cve-2021-31805)
- MySQL function - recursive function
- Zero trust in network information security
- NPDP|产品经理如何做到不会被程序员排斥?
- 基于卷积神经网络的遥感影像分类识别系统
- [daily question] chessboard question
- Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
- 消息队列概述
猜你喜欢
随机推荐
[wechat applet] Z-index is invalid
Metalama简介4.使用Fabric操作项目或命名空间
Basic software testing Day2 - Case Execution
Web17——EL与JSTL的使用
Hard core parsing promise object (do you know these seven common APIs and seven key questions?)
Qt绘制图像
Qt进程间通信
php生成json处理中文
SPSS之单因素方差分析
Introduction to metalama 4 Use fabric to manipulate items or namespaces
Everything can be expected in the future | one 2022 campus recruitment officially opened
一个平面设计师的异想世界|ONES 人物
Worder font page font comparison table
SynchronousQueue 源码解析
大家帮我看一下这是啥情况,MySQL5.5的。谢了
Symmetric encryption, certificate encryption
Fastjson 2 来了,性能继续提升,还能再战十年
Web17 -- use of El and JSTL
Stacks and queues a
Please help me see what this is, mysql5 5. Thanks








