validate file type html code example
Example 1: file input file types
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
Example 2: accept vedio pdf files upload html
<input type="file" accept=" video/*" />
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
<input type="file" accept=" video/*" />