I'm trying to learn CSS2, find some aspects of it quite confusing..
here, http://www.w3.org/TR/REC-CSS2/selector.html#q1 I see this:
E F : Matches any F element that is a descendant of an E element.
Descendant selectors
E > F : Matches any F element that is a child of an element
E. Child selectors
please, what is difference between a descendant and a child element..
thank you.
here, http://www.w3.org/TR/REC-CSS2/selector.html#q1 I see this:
E F : Matches any F element that is a descendant of an E element.
Descendant selectors
E > F : Matches any F element that is a child of an element
E. Child selectors
please, what is difference between a descendant and a child element..
thank you.
Comment