I want to disable autocomplete feature of web browsers by using autocomplete="off". I tried with this attribute and working fine for my local machine but when i deploy the same code on server and when i access the same page with my local machine's browser(The same chrome browser that i confirmed with earlier and working as expected) it seems autocomplete is not disabled and prompting for saving of username and password.
<!DOCTYPE html>
<html>
<head>
<title>Form, autocomplete html5</title>
</head>
<body>
<form action="" autocomplete="off">
<table>
<tr>
<td>
<label>First Name:</label>
</td>
<td>
<input type="text" name="fname">
</td>
</tr>
<tr>
<td>
<label>Last Name:</label>
</td>
<td>
<input type="text" name="lname">
</td>
</tr>
<tr>
<td>
<label>Email ID:</label>
</td>
<td>
<input type="text" name="email">
</td>
</tr>
<tr>
<td>
<label>Password:</label>
</td>
<td>
<input type="password" name="pwd">
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit">
</td>
</tr>
</table>
</form>
</body>
</html>
I expect the exact reason that after making the page live by deploying it on server why does it not works and working fine for my local machine. My Browser info is "Version 75.0.3770.100 (Official Build) (32-bit)". What might be the necessary steps in order to make this correct.