+ 1

Does the input type "tel" in html really works only for number inputs?

17th Jun 2022, 8:16 AM
Sarasi Yashodha Kulasooriya
Sarasi Yashodha Kulasooriya - avatar
3 Answers
+ 3
Only works on mobile devices.. in pc can try <input type="number">
17th Jun 2022, 11:19 AM
Malai Raja D
Malai Raja D - avatar
+ 2
Have you tried it? On mobile only a keyboard for phone numbers is displayed
 Maybe you test what happens when inputting letters on pc and see what happens?
17th Jun 2022, 8:22 AM
Alexander Thiem
Alexander Thiem - avatar
0
Yes I tried it on pc and there we can input letters also.
17th Jun 2022, 9:05 AM
Sarasi Yashodha Kulasooriya
Sarasi Yashodha Kulasooriya - avatar