CSS space in selector

Consider the two scenarios div > span { } vs. div span { }

Here, the ’ ’ (space) selects all the all the <span> elements inside <div> element even if they are nested inside more than one element. The > selects all the children of <div> element but if they are not inside another element.

CSS