Answers for "html how to accept images on file input"

21

only accept image file input

<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
Posted by: Guest on February-19-2020
0

only accept image file input

<input type="file" name="myImage" accept="image/*" />
Posted by: Guest on February-14-2021

Code answers related to "html how to accept images on file input"

Browse Popular Code Answers by Language