input type file attributes accept
For example add accept "image/ gif" to occupy only gif files. To include files of some specific types, just separate them by commas.HTML button tag. HTML input type"hidden" Attribute. Allows a filter to be defined for what type of files a user may pick with from an < input type"file"> dialog.Not supported means any file can be picked as if the accept attribute was not set, unless otherwise noted. On Windows, files that do not apply are hidden.