Ciao a tutti
Mentre cercavo di validare una pagina scritta in XHTML MP 1.2 sul sito del w3c, mi segnala quanto segue:
Consider adding an inputmode attribute to this input element.
Why?
If the expected text entry uses a well-defined subset of characters (e.g. numbers), identifying that set using theattribute of thecodice:inputmodeelement can help mobile browsers uses the most adapted input mode on the device (e.g. numeric keyboard vs alphabetic).codice:input
How?
Add anattribute to thecodice:inputmodeelement, with one of the well-known inputmode values.codice:input
Quello che non capisco è che valore dovrei dare a inputmode="..."