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) Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type attributes?
3) The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.
4) Which of the following selector selects elements that do not match the selector s?
5) Which of the following selector selects the element that is the first child of its parent that is of its type?