Home > Web Front-end > H5 Tutorial > html5 input attribute usage example_html5 tutorial skills

html5 input attribute usage example_html5 tutorial skills

WBOY
Release: 2016-05-16 15:49:17
Original
1873 people have browsed it

I just received the html5 css3 today and it’s really great. Now let me introduce the input attribute I used today.

html5 code is as follows:

Copy code
The code is as follows :


placeholder default prompt character autofocus will be obtained when the page is loaded A button in the focus x-webkit-speech Voice search, only the webkit kernel supports accept Specifies the file types that can be uploaded (only applicable to type=file)
alt Specifies the image input control to replace the text autocomplete Specifies whether to use the auto-complete function of the input field required The input field is required step The interval between input numbers pattrn Regular matching of the input content
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