chrome浏览器中,再次输入的时候为什么不给提示呢

来源:3-4 编程练习

前端小小工

2019-05-07 08:28:51

<form>

用户名:<!-- 补充代码 -->

<input type="text" autocomplete="on">

<br><br>

邮箱:<!-- 补充代码 -->

<input type="email" autocomplete="off">

<br><br>

手机号码:<!-- 补充代码 -->

<input type="tel">

<br><br>

<input type="submit" autocomplete="off">

</form>


写回答

1回答

好帮手慕星星

2019-05-07

你好,如果想要再次输入有提示,需要添加上name属性才会生效,参考:

http://img.mukewang.com/climg/5cd100b0000138ac08320166.jpg

效果:

http://img.mukewang.com/climg/5cd100b90001b8b203660090.jpg

自己可以重新测试下,祝学习愉快!

1

0 学习 · 40143 问题

查看课程