Home > Article > Web Front-end > How to use h5 to implement input box prompts and normal text box prompts
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 "/>
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!