Home  >  Article  >  Web Front-end  >  火狐浏览器的表单问题,求解_html/css_WEB-ITnose

火狐浏览器的表单问题,求解_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:461407browse

最近创建表单发现如果表单中同时包括text和password的input标签,代码案例如下:

<!doctype html><html lang="en"><head>    <meta charset="UTF-8">    <title>Document</title></head><body>    <form action="#">        <input type="text">        <input type="password">    </form></body></html>


在火狐浏览器中text会自动填充为aaa@bbb.com,密码框一样会自动填充,添加placeholder还是没有效果,如何避免这种情况?


回复讨论(解决方案)

清除浏览器缓存,这是因为你之前浏览器有保存你的输入信息

果然是浏览器的问题,不知道什么时候给全局填充了个这样的账户密码,删除这个保存的用户名密码就好了

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