Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html file input file filter

<!-- Courtesy: Vegard ( https://stackoverflow.com/users/1209028/vegard ) -->
<input type="file" accept=".jpg, .png, .jpeg, .gif, .bmp, .tif, .tiff|image/*">

<!-- Just write your desired file extension names in the 'accept' attribute -->
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #file #input #file #filter
ADD COMMENT
Topic
Name
9+6 =