Answers for "how to accept only image file in html"

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 "how to accept only image file in html"

Browse Popular Code Answers by Language