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