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
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