Answers for "allow only images in input type file"

21

accept only image files upload html

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

html make file input only images

<input type="file" accept="image/*">
Posted by: Guest on July-08-2021

Code answers related to "allow only images in input type file"

Browse Popular Code Answers by Language