Answers for "html flie chooser for images"

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
7

file input file types

<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
Posted by: Guest on May-05-2020

Browse Popular Code Answers by Language