+ 1

What’s special about ‘search’ input?

Could we just use a normal input ‘text’ in place of search input_ search doesn’t actually search or anything like that without JS, same thing for a normal input. It needs some JS, or some other language for it to actually work, or search. So, why search input?

20th May 2020, 4:24 PM
Ginfio
Ginfio - avatar
1 Answer
+ 5
Summary: Basically there is no difference from our side. But browsers can have special appearance for your input type search, like they have for number and email (a special keyboard for them) . More: https://stackoverflow.com/questions/11589770/input-type-text-vs-input-type-search-in-html5
20th May 2020, 4:31 PM
Raj Chhatrala
Raj Chhatrala - avatar