size doesn't work on input type file code example Example: input type file filter extensions <input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">