html form make input a submit and file upload button code example Example: file input file types <input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">