THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <input type="tel">

❮ HTML <input> type attribute

Example

Define a field for entering a telephone number:

Telephone: <input type="tel" name="usrtel">
Try it Yourself »

Definition and Usage

The <input type="tel"> defines a field for entering a telephone number.

Note: Browsers that do not support "tel" fall back to being a standard "text" input.


Browser Support

Attribute
type="tel" Not supported Not supported Not supported Yes Not supported

Syntax

<input type="tel">

❮ HTML <input> type attribute