Answers for "input type=file'' accept pdf and doc"

0

input type=file'' accept only doc and pdf

<input #fileInput type="file" id="avatar" accept="application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document" />

application/pdf means .pdf
application/msword means .doc
application/vnd.openxmlformats-officedocument.wordprocessingml.document means .docx
Posted by: Guest on May-01-2021
1

accept vedio pdf files upload html

<input type="file" accept=" video/*" />
Posted by: Guest on February-19-2020
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

Code answers related to "input type=file'' accept pdf and doc"

Browse Popular Code Answers by Language