file accept options html code example
Example 1: file input file types
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
Example 2: input type file select only video
accept="video/mp4,video/x-m4v,video/*"
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
accept="video/mp4,video/x-m4v,video/*"