What is the difference between the selectors div.red > p
and div.red p
?
Please point to the key difference between these CSS selectors.
HTML
<div class="red"><p></p><div class="blue"><p></p></div>
Does the first selector select only the first <p>
element?