What will happen in this case? p strong {background-color: yellow;}
Home | Discussion ForumWhat 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
Answer : B
View More Related Question
1) Which of the following selectors selects the specified elements of type E with a particular class value?
2) The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.
3) A similar rule called the ____________ is specified using the plus sign (+) and is used to select elements that would be siblings of each other.
4) Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type attributes?
5) Which of the following selector selects an element if it’s the only child of its parent?