tel attribute

<input type=tel>

Explanation

Tel Attribute is used to to enter phone number of an user in a input field on a webpage.

Example Code:

Result :

Enter your contact num:
  • Enter your contact number in the respective input field.
  • If the attribute is not applicable in a web browser, then the output will be the given text.

Limitations:

It will not function in all the browsers.

Ask Questions

Ask Question