On a phone, the right input type, inputmode, and enterkeyhint summon the correct on-screen keyboard and a useful Enter key. Keep input text at 16px or larger so iOS Safari doesn't zoom on focus.
HTML Living Standard — The inputmode attribute
HTML Living Standard — The enterkeyhint attribute