HTML Forms


  1. Which of the following is not a HTML5 added form element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    <datalist>, <keygen> and <output> are HTML5 added form element. Element <password> is not a HTML5 added form element. Password is an attribute used in input type in HTML.


  1. The __________ element may contain not just links but also other interactive items, including the newly introduced command element.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    A scalar measurement within a range or fractional value is defined by meter tag. The menu tag defines a list/menu of commands. The menu tag is used for context menus, toolbars and for listing form controls and commands. The details tag specifies additional details that the user can view or hide on demand. The details tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the <details> tag. Progress of a task is done by progress element.



  1. Which of the following is not a type of attribute for input tag?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Day is not defined in the pre-defined attribute list of input tag. Week attribute defines week and year when used as attribute in input tag. Month specifies month and year when it is accessed in input tag. The time attribute displays current time in html.


  1. The new __________ element is supposed to represent some form of extra details, such as a tooltip or revealed region that may be shown to a user.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    A scalar measurement within a range or fractional value is defined by meter tag. A list/menu of coommands is displayed by menu tag in html. The details tag specifies additional details that the user can view or hide on demand. The details tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the

    tag. Progress of a task is done by progress element.



  1. How does the color attribute work?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    color is the attribute of element introduce by HTML5. It defines the color picker i.e we can select a color of our choice from the color picker. Syntax is Select the color that you want: <input type=”color” name=”favorite color”>