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>
Example of ADDING HTML autocomplete Attribute in Input | HTML Input Attributes |
Full Completed code Example of ADDING HTML autocomplete Attribute in Input | HTML Input Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Input Attributes |
Uploaded by: | Admin |