Home > Web Front-end > H5 Tutorial > body text

How to use h5 to implement input box prompts and normal text box prompts

不言
Release: 2018-06-11 16:48:30
Original
2861 people have browsed it

The following will bring you an article on how to implement h5 input box prompts and normal text box prompts. The content is quite good, so I will share it with you now and give it as a reference.

The code is as follows:

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

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

html5 input box prompt.

The above is the entire content of this article. I hope it will be helpful to everyone's study. For more related content, please pay attention to the PHP Chinese website!

Related recommendations:

The mobile terminal uses H5 to realize the function of compressing image uploads

About H5’s new attributes audio audio and Video control analysis

How to realize the automatic playback of HTML5 page audio and video under WeChat and app

The above is the detailed content of How to use h5 to implement input box prompts and normal text box prompts. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!