MCQOPTIONS
Saved Bookmarks
This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following box-sizing property value is described by width and height include content, padding, and borders? |
| A. | border-box |
| B. | content-box |
| C. | content-box |
| D. | none fof the mentioned |
| Answer» B. content-box | |
| 2. |
Which of the following property sets a consistent margin on all four sides of the affected element? |
| A. | boder |
| B. | margin |
| C. | padding |
| D. | none fof the mentioned |
| Answer» C. padding | |
| 3. |
Which of the following property defines the style for the left border of an element? |
| A. | border-style |
| B. | border-left-style |
| C. | border-left-width |
| D. | border-right |
| Answer» C. border-left-width | |
| 4. |
WHICH_OF_THE_FOLLOWING_PROPERTY_SETS_A_CONSISTENT_MARGIN_ON_ALL_FOUR_SIDES_OF_THE_AFFECTED_ELEMENT??$ |
| A. | boder |
| B. | margin |
| C. | padding |
| D. | none fof the mentioned |
| Answer» C. padding | |
| 5. |
Which of the following box-sizing property value is described by width and height include content, padding, and borders?$ |
| A. | border-box |
| B. | content-box |
| C. | content-box |
| D. | none fof the mentioned |
| Answer» B. content-box | |
| 6. |
Which of the following Overflow property value is described by scrollbars should be provided if the content is too big, but actual implementation is left up to the browser? |
| A. | visible |
| B. | scroll |
| C. | auto |
| D. | hidden |
| Answer» D. hidden | |
| 7. |
Which of the following property controls the horizontal overflow of a block or inline block? |
| A. | overflow-x |
| B. | overflow |
| C. | overflow-y |
| D. | overflow-k |
| Answer» B. overflow | |
| 8. |
Which of the following display property value is described by used internally by browsers to create list items. Of no practical value to web designers? |
| A. | inline-block |
| B. | list-item |
| C. | group |
| D. | none |
| Answer» C. group | |
| 9. |
Which of the following visibility property value is described by The element is not visible, but the layout of surrounding elements is not affected? |
| A. | visible |
| B. | hidden |
| C. | collapse |
| D. | none of the mentioned |
| Answer» C. collapse | |
| 10. |
Which of the following property defines the style for the bottom border of an element? |
| A. | border-bottom-style |
| B. | border-collapse |
| C. | border-style-bottom |
| D. | none of the mentioned |
| Answer» B. border-collapse | |
| 11. |
Which of the following display property value is described by treats the element as inline? |
| A. | inline-block |
| B. | list-item |
| C. | block |
| D. | inline |
| Answer» E. | |
| 12. |
Which of the following property adds padding to the top of an element? |
| A. | height |
| B. | padding-height |
| C. | top |
| D. | padding-top |
| Answer» E. | |