Answers for "html input file accept all images"

33

accept only image input file

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

input field image accept type

<input type="file" name="image" accept=".png, .jpg, .jpeg" />
<input type="file" name="image" accept="image/png, image/jpeg" />
Posted by: Guest on October-16-2021

Code answers related to "html input file accept all images"

Browse Popular Code Answers by Language