Home » HTML » HTML Forms » Question
  1. Which attribute defines the file-select field?
    1. button
    2. file
    3. text
    4. checkbox
    5. None of these
Correct Option: B

file input type defines a file-select field, also gives a “Browse” button for file uploads. Syntax is <input type=”file” name=”image”>. Checkbox gives the facility to select one or more than one options from the given choices. The button activates JavaScript code. The text defines a single-line text field.



Your comments will be displayed only after manual approval.