input file only image in html code example Example: input type file select only video accept="video/mp4,video/x-m4v,video/*"