MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following selectors selects direct descendents? |
| A. | E > F |
| B. | E < F |
| C. | E + F |
| D. | E - F |
| E. | |
| Answer» B. E < F | |
| 2. |
___________ are used to separate each selector in grouping. |
| A. | # |
| B. | . |
| C. | , |
| D. | : |
| Answer» D. : | |
| 3. |
The universal selector is used as a? |
| A. | Wildcard Character |
| B. | Page Character |
| C. | Commas character |
| D. | None of the above |
| Answer» B. Page Character | |
| 4. |
Class name can be started with a number? |
| A. | Yes |
| B. | No |
| C. | Depends on class |
| D. | Depends on element |
| Answer» C. Depends on class | |
| 5. |
Id written with the ? |
| A. | . |
| B. | $ |
| C. | @ |
| D. | # |
| Answer» E. | |
| 6. |
An id is not always unique within the page so it is chosen to select a single, unique element. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| Answer» C. Can be true or false | |
| 7. |
___________ selects the HTML element by name. |
| A. | element selector |
| B. | Class Selector |
| C. | Universal Selector |
| D. | Group Selector |
| Answer» B. Class Selector | |
| 8. |
How many different types of selectors in CSS? |
| A. | 3 |
| B. | 4 |
| C. | 5 |
| D. | 6 |
| Answer» D. 6 | |