A more advanced approach is to use child selectors, in which a parent and its direct
child are separated by the right angle bracket character (>), as in
p > a
This selector matches only links that are direct children of a <p> element. If a link were
further embedded, say within a <span> within the <p>, that link would not be selected.
Comments
Post a Comment