input type file filter extensions
snippet in html

input type file filter extensions

user1879

<input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">