新闻资讯
做网站时input框中文本框输入内容提示消失怎么写
作者:江苏一网通网络科技有限公司
发表时间:2020-05-14
浏览量:
本文讲的是html5新手属性中,input中文本框输入内容提示消失代码:
例1
代码如下
<div><input type=“email” name=“email” spellcheck=“false” placeholder=“邮 箱” autofocus tabindex=“1” x-webkit-speech></div>
<div><input type=“password” name=“password” placeholder=“密 码” tabindex=“2”></div>
例1
代码如下
<div><input type=“email” name=“email” spellcheck=“false” placeholder=“邮 箱” autofocus tabindex=“1” x-webkit-speech></div>
<div><input type=“password” name=“password” placeholder=“密 码” tabindex=“2”></div>
基于HTML5 input标签的新特性 - placeholder 。
最新新闻
173 6181 4777
为打造行业领先品牌而奋斗