definitionTransmits state information about client/server interactions.Transmits state information about client/server interaction.NotesThis input type is not controlled by the user, but is sent the value of the Value property when the form is
Html. checkbox ("foo ")Generate two input changes instead of one. Who knows why?
If the check box is not selected, submit the form field. This is why we always get the value of false (in the hidden field ).
If you leave the check box
Html Table Element , main purpose : user input data, and submit to the serverthe basic syntax is :get/post), default is get" >Various input elements "input box, drop down list, text field, Password box"Case Study: Login
In web development, if there is only one INPUT element in the form of the page, press ENTER in the input box of the INPUT element (note: There is no event processing to write the corresponding onkeydown, etc.), then the browser will submit the form
Form attributes
Action
Define a URL. Send data to this URL when you click Submit.
4
5
Data
For automatic data insertion.
5
Replace
Define what is done when a form is submitted.
5
This article focuses on the properties of the HTML input tag, as well as the specific usage summary of the HTML input tag. Let's take a look at what the HTML input tag does.
First of all, the properties of the HTML input tag:
1.type: This property
Form) is used to collect information from user site visitors, and then submit the information to the server for processing. The form can contain various controls that allow users to interact, such as text boxes, list boxes, check boxes, and
Understand the 23 types and input23 types of input elements in HTML FormsTraditional text password file radio checkbox hidden button image reset submit new type color tel email url search number range date month week time datetime-local
With the
Contents of the formOnce the form is created, you can place the control in the form to accept the user's input. These controls are typically used in conjunction with ...... label pairs, or they can be used outside the form to create a user interface.
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.