accepted in html form code example
Example 1: html upload image
<input type="file" accept="image/*" />
Example 2: accept vedio pdf files upload html
<input type="file" accept=" video/*" />
<input type="file" accept="image/*" />
<input type="file" accept=" video/*" />