Horje

Example of ADDING HTML autocomplete Attribute in Input

An HTML form with autocomplete on, and off for one input field:
index.html
Example: HTML
 <form action="/action_page.php" autocomplete="on">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname"><br><br>
  <label for="lname">Last name:</label>
  <input type="text" id="lname" name="lname"><br><br>
  <label for="email">Email:</label>
  <input type="email" id="email" name="email" autocomplete="off"><br><br>
  <input type="submit" value="Submit">
</form> 

Output should be:

Example of ADDING HTML autocomplete Attribute in Input




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Input Attributes
Uploaded by:
Admin