Answers for "input file accept image and video"

21

only accept image file input

<input type="file" name="myImage" accept="image/x-png,image/gif,image/jpeg" />
Posted by: Guest on February-19-2020
1

input field image accept type

<input type="file" name="image" accept=".png, .jpg, .jpeg" />
<input type="file" name="image" accept="image/png, image/jpeg" />
Posted by: Guest on October-16-2021
0

file accept videos

accept="video/mp4,video/x-m4v,video/*"
Posted by: Guest on March-27-2021

Code answers related to "input file accept image and video"

Browse Popular Code Answers by Language