Home  >  Article  >  Web Front-end  >  Firefox browser form problem, solution_html/css_WEB-ITnose

Firefox browser form problem, solution_html/css_WEB-ITnose

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

I recently created a form and found that if the form includes both text and password input tags, the code example is as follows:

<!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>


In Firefox, the text will be automatically filled in as aaa@bbb.com , the password box will be filled in automatically, but adding placeholder still has no effect. How to avoid this situation?


Reply to discussion (solution)

Clear the browser cache, this is because your previous browser saved your input information

Sure enough, it is a browser problem. I don’t know when such an account and password was filled in globally. Just delete the saved username and password

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