Answers for "accept only image type input"

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
1

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 "accept only image type input"

Browse Popular Code Answers by Language