- 1

What is tel why is it used in html

25th Jul 2017, 9:39 AM
Asad Ullah Hashmi
Asad Ullah Hashmi - avatar
3 Antworten
+ 1
Type an input with HTML has for me two main use : - Make sure people can't fill input with unexpected types of datas. - Improve navigation experience with native web browser's functionnalities. What I mean is if for example I'm using a smartphone and I try to input a phone number, the webrowser will detect "tel" and display a phone keyboard, removing a,b,c,d,e, etc... make it ergonomic.
25th Jul 2017, 9:56 AM
Geoffrey L
Geoffrey L - avatar
+ 1
it is similar to number input type.. and you can not enter alphabets or characters in the number input field but in tel input field you can enter some characters and numbers
25th Jul 2017, 9:47 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
@Geoffrey L: Third main use (and not the lesser): give more semantical information about the content ;P
25th Jul 2017, 11:43 AM
visph
visph - avatar