Direction: Choose the correct option
Q1.
div p {
color: blue;
}What does this selector target?Direction: Choose the correct option
Q2.
div > p {
color: red;
}What is the difference from div p?Direction: Choose the correct option
Q3.
h2 + p {
font-weight: bold;
}Which paragraph gets bold text?Direction: Choose the correct option
Q4.
h2 ~ p {
color: gray;
}What does the ~ selector do?Direction: Choose the correct option
Q5.
Which selector would you use to style only the first list item in an unordered list?
