CSS3 Selectors
h2 ~ p
I should be red.
a[href^="http"]
a[href$="pdf"]
a[href*="google"]
p:first-of-type
I should be red.
I should be black.
p:last-of-type
I should be black.
I should be red.
p:only-of-type
I should be red.
I should be black.
I should be black.