"Reprint please retain the integrity of the content of the Wind network article, if you do not comply with this principle, we will retain the right to pursue legal responsibility"
<input> Label
Definitions and usage
<input> label defines the input field in which users can enter data.
Differences between HTML 4.01 and HTML 5
In HTML 5, the element has many new properties, and no longer supports some properties in HTML 4.01.
In HTML 5, the type attribute has many new values.
Example
Note: The input element is empty and contains only attributes.
Wind Network (www.ithov.com) Tip: Use the LABEL element to define the callout for the form control.
Property
The property value describes the 4 5 accept list_of_mime_types A comma-delimited list of MIME types indicating the MIME type of the file transfer. Note: Can only be used with type= "file". 4 5 Align Left right top texttop Middle Absmiddle baseline NRC the text alignment after the image is defined. Not supported, please use CSS instead. 4 &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Alt-text defines alternate text for an image. Note: Can only be used with type= "image". 4 5 autocomplete 5 Autofocus true false when the page loads, the input field gets the focus. Note: cannot be used when type= "hidden". 5 checked true to indicate that this input element should be selected the first time it is loaded. Note: Please use with type= "checkbox" and Type= "Radio". 4 5 Disabled true False when the INPUT element is first loaded, the element is disabled so that the user cannot write text in it, or select it. Note: cannot be used with type= "hidden". 4 5 Form True false defines that the input field belongs to one or more forms. 5 Inputmode Inputmode defines the expected input type. The 5 list ID of a DataList references the DataList element. If defined, a Drop-down list can be used to insert a value into the input field. 5 max number input character The large value. 5 maxlength number defines large numbers of words Fu Yi allowed in a text field. 4 5 min Number input character The small value. 5 name Field_name defines a unique name for the INPUT element. 4 5 pattern 5
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.