+ 1
Input type??
To ask phone number form users, we should use input type tel or input type number??
2 Answers
+ 6
You will use 'input type = 'tel'
**Backing up Nila, here is a descriptive example;
<input type = "number" />
Will request user to enter number(or numbers) e.g 1,2,3,4,45,32
and,
<input type = "tel" />
Will request for user's phone number e.g 08123456780, +9198765431
So, for the type of input you will add in your code that will requires user's phone number you will have to use the
'input type = 'tel'
+ 3
input type tell is used for adding phone number but input type number is used for adding number