Home >Web Front-end >HTML Tutorial >How to implement input box prompt + normal text box prompt in h5

How to implement input box prompt + normal text box prompt in h5

php中世界最好的语言
php中世界最好的语言Original
2018-01-20 10:01:323685browse

This time I will show you how to implement the input box prompt + normal text box prompt in h5, and how to implement the input box prompt + normal text box prompt in h5. What are the precautions? , here are Let’s take a look at practical cases.

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

html5Input box prompt.

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to the php Chinese website Other related articles!

Related reading:

How to use h5’s sse server to send EventSource events

How to implement the remember password function in h5

How to implement drag and drop in H5

The above is the detailed content of How to implement input box prompt + normal text box prompt 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