HTML: input type="tel"

The telephone input hints that a field contains a phone number and can offer a phone-friendly keyboard; it does not enforce one universal format.

What you will learn

Minimal example

<label for="phone">Phone number</label>
<input id="phone" name="phone" type="tel"
       autocomplete="tel" inputmode="tel">

Use the field to improve input on phones. If your service has a known region, explain the expected format and normalize the value on the server.

Common mistakes