The child selector selects every element that's an immediate child of the first-mentioned element.

<html>
 <head>
  <style>div > p {font-weight: bold;}</style></head>
 <body><div><p>I'm in</p></div><div><ul><li><p>I'm not</p></li></ul></div></body>
</html>
]]>

Sweet! Using the > symbol, we're selecting every <p> element that's not just a descendant but an immediate child of a <div> element.

Wouldn't that look for every <p> element that's inside any element that's inside a <div> element and, therefore, not select anything?