HTML apply a filter June 12, 2023 by Tarik I think u are looking for the accept parameter. Try this works <input type="file" accept="image/*" />