Answers for "input accept image and pdf"

1

accept pdf input file

<input type="file" name="upload" accept="application/pdf,application/vnd.ms-excel" />
Posted by: Guest on May-26-2021
5

input file accept image

<input type="file" name="myImage" accept="image/png, image/gif, image/jpeg" />
<input type="file" name="myImage" accept="image/*" />
Posted by: Guest on November-29-2021

Browse Popular Code Answers by Language