24 Forms & Inputs questions from the HTML bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Sign up free to see every answer with its explanation and ask the AI tutor.
A.the container that groups controls and submits their values to a server via an action and method
B.the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
C.the boolean constraint that blocks form submission until the field has a value
D.the slider control that lets a user pick a numeric value between a min and max by dragging
Answer + AI explanation with a free account
2. Which term means: "the container that groups controls and submits their values to a server via an action and method"?
Junior
A.pattern attribute
B.required attribute
C.form element
D.input type range
Answer + AI explanation with a free account
3. Which statement is correct?
Junior
A.form element — the slider control that lets a user pick a numeric value between a min and max by dragging
B.form element — the hint text shown inside an empty field that disappears once the user starts typing
C.form element — the container that groups controls and submits their values to a server via an action and method
D.form element — the field constraint holding a regular expression that the entered value must match to be valid
Answer + AI explanation with a free account
4. What is label element?
Junior
A.the container that groups controls and submits their values to a server via an action and method
B.the control whose for attribute ties a caption to a field so clicking it focuses that field
C.the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
D.the boolean constraint that blocks form submission until the field has a value
Answer + AI explanation with a free account
5. Which term means: "the control whose for attribute ties a caption to a field so clicking it focuses that field"?
Junior
A.placeholder attribute
B.form element
C.input type email
D.label element
Answer + AI explanation with a free account
6. Which statement is correct?
Junior
A.label element — the slider control that lets a user pick a numeric value between a min and max by dragging
B.label element — the control whose for attribute ties a caption to a field so clicking it focuses that field
C.label element — the field constraint holding a regular expression that the entered value must match to be valid
D.label element — the hint text shown inside an empty field that disappears once the user starts typing
Answer + AI explanation with a free account
7. What is input type email?
Junior
A.the slider control that lets a user pick a numeric value between a min and max by dragging
B.the hint text shown inside an empty field that disappears once the user starts typing
C.the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
D.the boolean constraint that blocks form submission until the field has a value
Answer + AI explanation with a free account
8. Which term means: "the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile"?
Junior
A.input type email
B.label element
C.input type range
D.placeholder attribute
Answer + AI explanation with a free account
9. Which statement is correct?
Junior
A.input type email — the hint text shown inside an empty field that disappears once the user starts typing
B.input type email — the field constraint holding a regular expression that the entered value must match to be valid
C.input type email — the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
D.input type email — the container that groups controls and submits their values to a server via an action and method
Answer + AI explanation with a free account
10. What is placeholder attribute?
Mid
A.the slider control that lets a user pick a numeric value between a min and max by dragging
B.the control whose for attribute ties a caption to a field so clicking it focuses that field
C.the element that supplies a list of suggested options to an input while still allowing free text entry
D.the hint text shown inside an empty field that disappears once the user starts typing
Answer + AI explanation with a free account
11. Which term means: "the hint text shown inside an empty field that disappears once the user starts typing"?
Mid
A.placeholder attribute
B.form element
C.input type range
D.input type email
Answer + AI explanation with a free account
12. Which statement is correct?
Mid
A.placeholder attribute — the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
B.placeholder attribute — the control whose for attribute ties a caption to a field so clicking it focuses that field
C.placeholder attribute — the hint text shown inside an empty field that disappears once the user starts typing
D.placeholder attribute — the boolean constraint that blocks form submission until the field has a value
Answer + AI explanation with a free account
13. What is required attribute?
Mid
A.the control whose for attribute ties a caption to a field so clicking it focuses that field
B.the hint text shown inside an empty field that disappears once the user starts typing
C.the element that supplies a list of suggested options to an input while still allowing free text entry
D.the boolean constraint that blocks form submission until the field has a value
Answer + AI explanation with a free account
14. Which term means: "the boolean constraint that blocks form submission until the field has a value"?
Mid
A.datalist element
B.required attribute
C.pattern attribute
D.input type email
Answer + AI explanation with a free account
15. Which statement is correct?
Mid
A.required attribute — the container that groups controls and submits their values to a server via an action and method
B.required attribute — the boolean constraint that blocks form submission until the field has a value
C.required attribute — the element that supplies a list of suggested options to an input while still allowing free text entry
D.required attribute — the hint text shown inside an empty field that disappears once the user starts typing
Answer + AI explanation with a free account
16. What is input type range?
Mid
A.the slider control that lets a user pick a numeric value between a min and max by dragging
B.the hint text shown inside an empty field that disappears once the user starts typing
C.the boolean constraint that blocks form submission until the field has a value
D.the control whose for attribute ties a caption to a field so clicking it focuses that field
Answer + AI explanation with a free account
17. Which term means: "the slider control that lets a user pick a numeric value between a min and max by dragging"?
Mid
A.pattern attribute
B.datalist element
C.label element
D.input type range
Answer + AI explanation with a free account
18. Which statement is correct?
Mid
A.input type range — the container that groups controls and submits their values to a server via an action and method
B.input type range — the element that supplies a list of suggested options to an input while still allowing free text entry
C.input type range — the boolean constraint that blocks form submission until the field has a value
D.input type range — the slider control that lets a user pick a numeric value between a min and max by dragging
Answer + AI explanation with a free account
19. What is pattern attribute?
Senior
A.the container that groups controls and submits their values to a server via an action and method
B.the field constraint holding a regular expression that the entered value must match to be valid
C.the hint text shown inside an empty field that disappears once the user starts typing
D.the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
Answer + AI explanation with a free account
20. Which term means: "the field constraint holding a regular expression that the entered value must match to be valid"?
Senior
A.input type range
B.placeholder attribute
C.label element
D.pattern attribute
Answer + AI explanation with a free account
21. Which statement is correct?
Senior
A.pattern attribute — the field variant that validates entered text matches an email address pattern and shows an email keyboard on mobile
B.pattern attribute — the boolean constraint that blocks form submission until the field has a value
C.pattern attribute — the field constraint holding a regular expression that the entered value must match to be valid
D.pattern attribute — the hint text shown inside an empty field that disappears once the user starts typing
Answer + AI explanation with a free account
22. What is datalist element?
Senior
A.the hint text shown inside an empty field that disappears once the user starts typing
B.the field constraint holding a regular expression that the entered value must match to be valid
C.the element that supplies a list of suggested options to an input while still allowing free text entry
D.the slider control that lets a user pick a numeric value between a min and max by dragging
Answer + AI explanation with a free account
23. Which term means: "the element that supplies a list of suggested options to an input while still allowing free text entry"?
Senior
A.required attribute
B.placeholder attribute
C.datalist element
D.input type email
Answer + AI explanation with a free account
24. Which statement is correct?
Senior
A.datalist element — the element that supplies a list of suggested options to an input while still allowing free text entry
B.datalist element — the boolean constraint that blocks form submission until the field has a value
C.datalist element — the slider control that lets a user pick a numeric value between a min and max by dragging
D.datalist element — the control whose for attribute ties a caption to a field so clicking it focuses that field
Answer + AI explanation with a free account
Free to start
Answers, AI explanations, and a free readiness check
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. One full AI mock interview, scored like a real panel, is free when you sign up.