file attributes in input code example
Example 1: input file define type
<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/*"