What does the input tag mean?

云罗郡主
Release: 2019-01-31 15:26:18
Original
21493 people have browsed it

What does the

input tag mean? [Recommended tutorial: HTML tutorial]

What does the input tag mean?

The input tag is an input field that specifies that users can enter data. It is also a simple HTML form, containing two text input boxes and a submit button.

html input tag syntax

Function: Used to collect user input information.

Note: According to different type attribute values, the input field has many forms. Input fields can be text fields, checkboxes, masked text controls, radio buttons, buttons, etc.

Note: In HTML, the tag does not have a closing tag. In XHTML, the tag must be closed properly.

html input tag example

<html>
<body>
<form action="">
文本框:<br>
<input type="text">
<br>
密码:<br>
<input type="password">
<br>
单选框:<br>
<input type="radio">
<br>
提交按钮:<br>
<input type="submit">
<br>
</form>
</body>
</html>
Copy after login


The above is the detailed content of What does the input tag mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template