Answers for "how to make input only receive image in html"

21

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

upload only image input tag

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

Code answers related to "how to make input only receive image in html"

Browse Popular Code Answers by Language