Horje

How to add HTML <form> autocomplete off Attribute

off The user must enter a value into each field for every use. The browser does not automatically complete entries
index.html
Example: HTML
<form action="/action_page.php" method="get" autocomplete="off">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="email">Email:</label>
  <input type="text" id="email" name="email"><br><br>
  <input type="submit">
</form>

Output should be:

How to add HTML <form> autocomplete off Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin