

MCQOPTIONS
Saved Bookmarks
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which element is used to create multi-line text input? |
A. | text |
B. | textarea |
C. | submit |
D. | radio button |
Answer» C. submit | |
2. |
Which of the following is not used with password attribute? |
A. | name |
B. | size |
C. | maxlength |
D. | min |
Answer» E. | |
3. |
Which attribute is not used on new forms? |
A. | size |
B. | text |
C. | name |
D. | maxlength |
Answer» B. text | |
4. |
tel attribute is supported by the _________ browser. |
A. | Chrome |
B. | Safari |
C. | Opera |
D. | Internet Explorer |
Answer» C. Opera | |
5. |
week attribute defines ____________ |
A. | week |
B. | year |
C. | week and year |
D. | week, month and year |
Answer» D. week, month and year | |
6. |
What is the default type of ‘type’ attribute of element? |
A. | Text |
B. | Password |
C. | Numerals |
D. | Special Characters |
Answer» B. Password | |
7. |
TEL_ATTRIBUTE_IS_SUPPORTED_BY_THE___________BROWSER.?$ |
A. | Chrome |
B. | Safari |
C. | Opera |
D. | Internet Explorer |
Answer» C. Opera | |
8. |
Which of the following is not used with password attribute?$ |
A. | name |
B. | size |
C. | maxlength |
D. | min |
Answer» E. | |
9. |
Which_attribute_is_not_used_on_new_forms?$ |
A. | size |
B. | text |
C. | name |
D. | maxlength |
Answer» B. text | |
10. |
Which attribute is used with |
A. | multiple |
B. | selected |
C. | name |
D. | value |
Answer» B. selected | |
11. |
Which attribute is not used for the radio type? |
A. | name |
B. | value |
C. | checked |
D. | selected |
Answer» E. | |
12. |
Which_element_is_used_to_create_multi-line_text_input? |
A. | text |
B. | textarea |
C. | submit |
D. | radio button |
Answer» C. submit | |
13. |
week attribute defines ___________? |
A. | week |
B. | year |
C. | week and year |
D. | week, month and year |
Answer» D. week, month and year | |
14. |
month attribute defines ___________ |
A. | the only month |
B. | month and year |
C. | date |
D. | date and time |
Answer» C. date | |
15. |
How image attribute works? |
A. | Sets an image background |
B. | Set an image as submit button |
C. | Set an image anywhere on the page |
D. | Bring default image to the page |
Answer» C. Set an image anywhere on the page | |
16. |
Which attribute defines the file-select field? |
A. | file |
B. | checkbox |
C. | button |
D. | text |
Answer» B. checkbox | |
17. |
Which attribute is used for activation of JavaScript? |
A. | button |
B. | checkbox |
C. | url |
D. | submit |
Answer» B. checkbox | |
18. |
How does the color attribute work? |
A. | Changes color of the text |
B. | Changes background color |
C. | The color picker is defined by it |
D. | Changes color of the text as well as background |
Answer» D. Changes color of the text as well as background | |
19. |
Which of the following is a new input attribute introduce by HTML5? |
A. | text |
B. | checkbox controls |
C. | submit buttons |
D. | date |
Answer» E. | |
20. |
What is the default type of ‘type’ attribute of element? |
A. | Text |
B. | Password |
C. | Numerals |
D. | Special Characters |
Answer» B. Password | |