Forms are often used to collect input from different types of users, allowing users to collect: text fields (text), drop-down lists (select), radio buttons (radio), check boxes (checkbox) and action buttons (Action)
Form tag
Most form tags are input tags, and the input type is defined by (type).
example: & lt; form & gt;
# & lt; input Type = "Text" name = "first_text" & gt;
## & ltpe = 'Text' name="address" value="Guangdong"> When a default value is required, use the value attribute
"checkbox" name="Tiger">
Select
The elements used in the drop-down list are: select The attribute is: option
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