I want to write a login form.But the input always auto complete when I click it.How can I fix this with html,css or javascript.
this is my html code.
<div class="container">
<h1>Login Form</h1>
<form autocomplete="off">
<div class="form-control">
<input type="text" required autoComplete="off">
<label>Email</label>
</div>
<div class="form-control">
<input type="text" required>
<label>Password</label>
</div>
<button class="btn">Login</button>
<p class="text">Don't have a account?<a href="#">Register</a></p>
</form>
</div>
I have set autoComplete="off",but It dosen't work.Please help me.Thanks a lot.
