Home > Web Front-end > HTML Tutorial > Example tutorial on interaction between input type and user

Example tutorial on interaction between input type and user

零下一度
Release: 2017-06-24 10:24:00
Original
1382 people have browsed it

Unrestricted input

type Restricted input type = the following type

## type can also be followed by some attributes: such as Limit the length of text to 10 bytes

list Check again when it is available. List is when a suggested value is not enough to add to a few .

##    

type="text" name="usr" list="listfruit">

id="listfruit">#                                   ;

##                                                                         

# #

##There are several things to remember. Create a datalist with multiple options in it. The id of the datalist points to the input list. , One-to-many is usually the one where the id

password displays non-clear textplaceholder , the default is empty, you can also enter a prompt to prompt you to enter something, but it will disappear when you actually enter it.

##number Restrict the input number Domain number

##color date IE does not support it. In fact, it is very good. User input is diversified, and can choose color and date. ?music = 1 & sport =2 Integrate with subsequent programs to call the text or music of these idsradio Single choice question

##

image The button is a button for an image...

email tel url These are the ones that require the user to enter the correct category, but the browser The support is not very good. You may need to use regular expression specifications

hidden to hide the input box. It must be written with name and value. After submission, name = value will be returned

file Upload control

The above is the detailed content of Example tutorial on interaction between input type and user. 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