P粉3431416332023-08-19 11:25:56
No, and (according to MDN):
This is even less strict.
If your user interface requirements differ from those provided by the browser, then you must implement (or find) a custom input that meets those requirements, including validating the user input.