Answers for "how to not accept image in input file"

33

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
5

input file accept image

<input type="file" name="myImage" accept="image/png, image/gif, image/jpeg" />
<input type="file" name="myImage" accept="image/*" />
Posted by: Guest on November-29-2021

Code answers related to "how to not accept image in input file"

Browse Popular Code Answers by Language