Does anyone know how to use the accept attribute in input tags? I see that this is documented, but w3schools indicates that it is not supported by any of the major browsers. Testing also confirms this.
I know that validation must be done on the server side, and I'm doing it now. But it would be nice if he limited the file types in the file download dialog for ease of use.
Edit: I am fully aware of the security implications for client-side validation only. I do not intend to remove server-side validation and am looking for a way to improve usability.
source
share