What's the difference between div>p and div p in CSS?

7/19/2019 6:51:06 PM

Salmanul Fares

2 Answers

New Answer


div > p: all p elements whose parent node is a div div p: all p elements that are an ascendant of a div element (inside a div)


I figured it out thanks. Airree ! https://code.sololearn.com/Weu9NuoBWKXI/?ref=app