Answers for "accept jpg png html"

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 type file select only video

accept="video/mp4,video/x-m4v,video/*"
Posted by: Guest on October-14-2020
1

accept vedio pdf files upload html

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

Browse Popular Code Answers by Language