Input Type: Tel

The input type is used for input fields that should contain a telephone number.

<input type="tel">
HTML file: Displayed by browser:
<form action="http://www.w3schools.com/html/action_page.php">
  Telephone:
  <input type="tel" name="usrtel">
  <input type="submit">
</form>
Telephone:

The tel type is currently supported only in Safari.

Back button Table of Contents Next button