Choosing the right virtual keyboard can make form entry less tiring. The inputmode attribute hints which kind of data a person will enter, so the browser can offer a better-suited keyboard. section 6.1.3
Useful values include:
- email, which typically provides an @ key and may include a .com key. section 6.1.3
- numeric, which requests a keyboard optimized for number entry. section 6.1.3
- Other values: none, text, decimal, tel, search, and url. section 6.1.3
A numeric keyboard for age
Use inputmode="numeric" on an age field to request a numeric keyboard on touch devices. section 6.1.10
