Horje

How to add HTML <input> autocomplete tel-country-code Attribute

tel-country-code Expects the country code of the phone number
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The autocomplete attribute</h1>

<form action="/action_page.php">
<label for="address-line">Name:</label>
<input type="text" id="address-line" name="address-line"  autocomplete="tel-country-code"><br><br>
<input type="submit">
</form>

</body>
</html>

Output should be:

How to add HTML <input> autocomplete tel-country-code Attribute




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