html form file code example
Example 1: html upload image
<input type="file" accept="image/*" />
Example 2: file input file types
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">
<input type="file" accept="image/*" />
<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">