HTML5 Input Element Tutorial


Q1. 
Restrict the user to a numeric value.
A. Use the password type of input element.
B. Use the submit, reset, or button types of input element.
C. Use the number type of input element.
D. Use the range type of input element.
Q2. 
Restrict the user to a range of numeric values.
A. Use the password type of input element.
B. Use the submit, reset, or button types of input element.
C. Use the number type of input element.
D. Use the range type of input element.
Q3. 
Set the size and capacity of an input element.
A. Use the size and maxlength attributes.
B. Use the value and placeholder attributes.
C. Use the datalist element and the list attribute on the input element.
D. Use the disabled and readonly attributes.
Q4. 
Set an initial value for an input element or a hint as to the kind of data required.
A. Use the size and maxlength attributes.
B. Use the value and placeholder attributes.
C. Use the datalist element and the list attribute on the input element.
D. Use the disabled and readonly attributes.
Q5. 
Provide suggested values to the user.
A. Use the size and maxlength attributes.
B. Use the value and placeholder attributes.
C. Use the datalist element and the list attribute on the input element.
D. Use the disabled and readonly attributes.
Q6. 
Restrict the user to a true/false response.
A. Use the checkbox type of input element.
B. Use the radio type of input element.
C. Use the email, tel, or url types of input element.
D. Use the checkbox type of input element.
Q7. 
Restrict the user to a limited number of choices.
A. Use the checkbox type of input element.
B. Use the radio type of input element.
C. Use the email, tel, or url types of input element.
D. Use the checkbox type of input element.
Q8. 
Restrict the user to a specific format of string.
A. Use the checkbox type of input element.
B. Use the radio type of input element.
C. Use the email, tel, or url types of input element.
D. Use the checkbox type of input element.
Q9. 
Upload a file to the server.
A. Use the file type of input element and set the encoding for the form to multipart/form-data.
B. Use the search type of input element.
C. Use the hidden type of input element.
D. Use the image type of input element.
Q10. 
Create read-only or disabled input elements.
A. Use the size and maxlength attributes.
B. Use the value and placeholder attributes.
C. Use the datalist element and the list attribute on the input element.
D. Use the disabled and readonly attributes.
Q11. 
Restrict the user to a time or date.
A. Use the checkbox type of input element.
B. Use the radio type of input element.
C. Use the email, tel, or url types of input element.
D. Use the datetime, datetime-local, date, month, time, or week types of input element.
Q12. 
Restrict the user to selecting a color.
A. Use the color type of input element.
B. Use the search type of input element.
C. Use the hidden type of input element.
D. Use the image type of input element.
Q13. 
Restrict the user to entering terms for a search.
A. Use the color type of input element.
B. Use the search type of input element.
C. Use the hidden type of input element.
D. Use the image type of input element.
Q14. 
Create an input element that is not displayed to the user.
A. Use the color type of input element.
B. Use the search type of input element.
C. Use the hidden type of input element.
D. Use the image type of input element.
Q15. 
Create image buttons that submit the form.
A. Use the color type of input element.
B. Use the search type of input element.
C. Use the hidden type of input element.
D. Use the image type of input element.
Q16. 
Hide the characters that a user enters from view.
A. Use the password type of input element.
B. Use the submit, reset, or button types of input element.
C. Use the number type of input element.
D. Use the range type of input element.
Q17. 
Create buttons using an input element.
A. Use the password type of input element.
B. Use the submit, reset, or button types of input element.
C. Use the number type of input element.
D. Use the range type of input element.


Advertisements
Advertisements

Mail: Support@gicgac.com