> in css


Ad

Advertisements

Joined
Nov 13, 2020
Messages
126
Reaction score
20
div > p
will select every <p> element that has a <div> as it's parent.
<p> elements that are not in a div will not be chosen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top