Show "Search" button on mobile keyboard

For Android

Only type="search" is required on <input>

For IOS

It is required to wrap <input type="search"> inside a <form action>, note that the attribute action is must-have.

For all mobile devices

To sum up, the minimum requirement on mobile is:

1
2
3
4
5
<form action>
<input
type="search"
>
</form>

To try on mobile device, here is a live example on JSFiddle :