Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

What is a CSS selector?
A. A HTML attribute
B. A CSS property
C. A JavaScript function
D. A pattern to select HTML elements for styling
Direction: Choose the correct option

Q2.

p {
color: blue;
}
What type of selector is this?
A. Universal selector
B. Element selector
C. Class selector
D. ID selector
Direction: Choose the correct option

Q3.

Which selector has the highest specificity?
A. ID selector
B. Class selector
C. Element selector
D. Universal selector
Direction: Choose the correct option

Q4.

* {
margin: 0;
padding: 0;
}
What does the * selector do?
A. Selects nothing
B. Selects first element
C. Selects all elements
D. Selects last element
Direction: Choose the correct option

Q5.

h1, h2, h3 {
font-family: Arial;
}
What is this called?
A. Group selector
B. List selector
C. Combined selector
D. Multiple selectors