htmlForm tags: "
The browser displays the following:
Note: The form itself is not visible. Also, in most browsers, the default width of a text field is 20 characters.
2. Password field
The password field is defined by the tag:
The browser display effect is as follows:
Note: Password field characters will not be displayed in plain text, but will be replaced by asterisks or dots.
3. Radio Buttons
tag defines the form radio button options
Browser display effect As follows:
4. Checkboxes
defines the checkbox. Users need to start from Select one or several options from a number of given choices.
The browser display effect is as follows:
5. Submit Button
Defines the submit button.
When the user clicks the confirm button, the content of the form will be transferred to another file. The form's action attribute defines the file name of the destination file. The file defined by the action attribute usually performs related processing on the input data received. :
The browser display effect is as follows:
If you type a few letters in the text box above and click the confirm button, then enter the data The page that will be sent to "html_form_action.php". This page will display the entered results.
Recommended tutorial: "html video tutorial"
The above is the detailed content of What are the tags in html forms. For more information, please follow other related articles on the PHP Chinese website!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn