Sometimes, we want to force show the keyboard with numbers in a mobile website in Android with HTML.
In this article, we’ll look at how to force show the keyboard with numbers in a mobile website in Android with HTML.
How to force show the keyboard with numbers in a mobile website in Android with HTML?
To force show the keyboard with numbers in a mobile website in Android with HTML, we add a number or phone number input.
For instance, we write
<input type="number" />
to add a number input.
Or we write
<input type="tel" />
to add a phone number.
Both will show the keyboard with numbers when we focus on it.
Conclusion
To force show the keyboard with numbers in a mobile website in Android with HTML, we add a number or phone number input.