The card paradox is a variant of the liar paradox constructed by Philip Jourdain.
Suppose there is a card with statements printed on both sides: Trying to assign a truth value to either of them leads to a paradox.
The same mechanism applies to the second statement.
Neither of the sentences employs (direct) self-reference, instead this is a case of circular reference.
Yablo's paradox is a variation of the liar paradox that is intended to not even rely on circular reference.