The input type is used for input fields that should contain a telephone number.
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> |
The tel type is currently supported only in Safari.