Home  >  Article  >  Web Front-end  >  Code example for implementing text box prompts in h5

Code example for implementing text box prompts in h5

Y2J
Y2JOriginal
2018-05-15 16:47:233667browse

The following editor will bring you an article on how to implement h5 input box prompts + normal text box prompts. The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s take a look with the editor

XML/HTML CodeCopy content to the clipboard

<input id="username" name="username" type="text" placeholder="请输入用户名/手机号" value=""  style="width:100%;height:32px;border-style:none "/>

placeholder=" Please enter your username/ Mobile phone number";

html5 input box prompt.

【Related recommendations】

1. Html5 free video tutorial

2. H5 production QR code scanning and analysis Code examples

3. Detailed explanation of HTML5 local database examples

4. Teach you how to implement an H5 micro-scenario

5. Detailed explanation of H5’s custom attributes data-*

The above is the detailed content of Code example for implementing text box prompts in h5. For more information, please follow other related articles on the PHP Chinese website!

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