Have you ever started typing into a form and had your browser suggest a saved value? HTML can help the browser decide which value belongs in which field. The autocomplete token mobile is used for describes a mobile phone number.
What mobile tells the browser
Describes a mobile phone number.
This is a hint, not an instruction to fill a value automatically. Browsers and password managers consider settings, saved data, permissions and other signals before offering suggestions.
Important: mobile is a context or contact-type hint. It is not a complete autofill field name on its own. Combine it with an appropriate field token in the right order, as shown below.
Example form field
<form action="/example" method="post">
<label for="contact-number">Mobile phone</label>
<input id="contact-number" name="phone" type="tel" autocomplete="mobile tel">
<button type="submit">Continue</button>
</form>
Understanding the example
Notice autocomplete="mobile tel". The first word describes the kind of address or contact; the final word identifies the actual field. Without that field name, browsers may ignore the hint.
Use with a telephone token, such as mobile tel.
A correct token improves convenience but does not prove that the value is accurate. Keep accessible labels and appropriate server-side validation.
Try it yourself
Save the example as an HTML file, and test the field with browser autofill enabled. Inspect the autocomplete value and compare it with the field label. Browser behavior depends on available saved information, so a missing suggestion is not necessarily an HTML mistake.
Common Beginner Mistakes
- Use with a telephone token, such as mobile tel.
- Leaving out the visible label because the browser might autofill the field.
- Treating autofill suggestions as verified or safe data.
Key Takeaways
mobiledescribes describes a mobile phone number.- Use with a telephone token, such as mobile tel.
- Autocomplete helps users; it does not replace labeling, accessibility or validation.