VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typetel/

⇱ HTML <input type="tel"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="tel">

Last Updated : 20 May, 2024

The HTML <input type="tel"> element creates a telephone number input field, specifically designed for entering phone numbers. It provides features like input validation for telephone numbers and may include special characters like parentheses and hyphens for formatting. This element helps ensure that users enter phone numbers correctly in web forms.

Syntax

<input type="tel"> 

Example: This example demonstrates the use of HTML <input type="tel"> element.

Output

👁 HTML-Input-Type-Tel

Supported Browsers

  • Chrome 3
  • Edge 12
  • Firefox
  • Opera 11
  • Safari 4
Comment
Article Tags: