:nth-child() targets the nth child regardless of type, while :nth-of-type() targets the nth child of a specific type.
:nth-child()
:nth-of-type()