p strong {background-color: yellow;}
What will happen in this case?
Strong have yellow background
Strong element within a p element have a yellow background
Both p and strong have yellow background
None of the mentioned
Answer : B
View More Related Question
1) Which of the following selector selects the elements that are currently enabled?
2) A similar rule called the ____________ is specified using the plus sign (+) and is used to select elements that would be siblings of each other.
3) Which of the following selectors selects siblings?
4) What will happen in this case? p strong {background-color: yellow;}
Strong have yellow background
Strong element within a p element have a yellow background
Both p and strong have yellow background
None of the mentioned
View Answer
5) Which of the following selector selects all elements of E that have the attribute attr that end with the given value?