html input type file code example Example: input file define type <input type="file" accept=".gif,.jpg,.jpeg,.png,.doc,.docx">