Home » HTML » HTML Forms » Question
  1. Which element specifies a list of pre-defined options for an input element?
    1. <output>
    2. <password>
    3. <datalist>
    4. <keygen>
    5. None of these
Correct Option: C

The datalist tag is used to provide an “autocomplete” feature on input elements. Users will see a drop-down list of pre-defined options as they input data. Password defines password field in HTML. It is attribute for input-type. The element references from data after form has submitted. Result of calculation (script) is represented by output tag.



Your comments will be displayed only after manual approval.