input file all atributess code example
Example 1: input type file filter extensions
<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/*"