HTML Forms
- Which of the following defines a group of related options in a drop-down list?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
HTML form element is used in its
- Which of the following is not a HTML5 added form element?
-
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.
- Which element specifies a list of pre-defined options for an input element?
-
View Hint View Answer Discuss in Forum
NA
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.
- __________ allows the iframe to pull in content from elsewhere in the same domain.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Scripts are re-enabled by allow-scripts. Allow-forms re-enables from submission. Allow-same-origin allows iframe content to be treated as being from the same origin. API’s are re-enable by allow-pointer-lock.
- What is the default type of ‘type’ attribute of <input> element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Text input type defines single line text field. Type is the attribute that displays type of <input> elements. Its default type is text. It is supported by most of the browsers like Chrome, Internet Explorer, Firefox, Opera. Syntax is: <form action=”jump.php”> Name:<input type=”text” name=”name”> </form> A password field is defined by password input.