Virtual keyboards with inputmode
The inputmode attribute helps touchscreen users by giving them the most appropriate virtual keyboard.
For more detailed information, check out MDN Web Docs on inputmode.
Note, no formatting is enforced by inputmode.