How to only accept images in an input file field code example Example: input type file select only video accept="video/mp4,video/x-m4v,video/*"