Answers for "html input file'' accept pdf and doc"

1

accept pdf input file

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

input type=file'' accept only doc and pdf

application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.presentationml.presentation
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language