当前位置:网站首页>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
边栏推荐
- SQLserver怎么插入或更新当天的星期数,bit而不是文本
- 一个平面设计师的异想世界|ONES 人物
- Qt双缓冲绘图
- SPSS之单因素方差分析
- Zigbee之CC2530最小系统及寄存器配置(1)
- Recommended programming AIDS: picture tool snipaste
- Metalama简介4.使用Fabric操作项目或命名空间
- 异步时钟亚稳态 的解决方案——多bit信号
- Aviation core technology sharing | overview of safety characteristics of acm32 MCU
- 没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版
猜你喜欢

【每日一题】棋盘问题

SQL exercise (I)

CGC: contractual graph clustering for community detection and tracking

One way ANOVA of SPSS

Idea code quality specification plug-in sonarlint

How to prevent the website from being hacked and tampered with

远程桌面之终端服务器超出了最大允许连接数解决

C set Logo Icon and shortcut icon

Number of nodes of complete binary tree

STM32工程移植:不同型号芯片工程之间的移植:ZE到C8
随机推荐
Pre competition practice of TIANTI competition
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
box-sizing
Qt双缓冲绘图
Windows2008系统如何切换PHP版本
XinChaCha Trust SSL Organization Validated
Qt绘制图像
QT draw image
甲辰篇 創世紀《「內元宇宙」聯載》
Luogu p5540 [balkanoi2011] timeismoney | minimum product spanning tree problem solution
Resolve disagrees about version of symbol device_ create
Labels and paths
Nativeformysql connects to MySQL 8 prompt: 1251 - client does not support authentication protocol
uni-app 原生APP-本地打包集成极光推送(JG-JPUSH)详细教程
【unity笔记】L4Unity中的基础光照
Please help me see what this is, mysql5 5. Thanks
Xinwangda announced that the price of battery products had been increased, and the investment of "weixiaoli" exceeded 1 billion
One way ANOVA of SPSS
对称加密、证书加密
异步时钟亚稳态 的解决方案——多bit信号