Could somebody explain difference between two question ? (CSS)


I can't see difference between two question. are there any differences between both of them ?

ckticks above>


yes,there is.

for the first question
apply the css to paragraph elements directly inside div.

look at your code first two paragraph elements are direct child of div.but inside li paragraph elements are not direct child div. so you have to apply the css for only first two paragraph elements.

for the second one
apply cursive font only to the paragraph inside div.
so here you have to apply the css for all the paragraph elements that are child of div no matter whether it's direct or not.


i think i figured out just now ,

thanks: )


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.