If A is the candidate key of the relation, then A itself is called as the prime attribute. Not the other attributes{B, C} in the super keys- AB, AC are called as Prime Attributes.
But if D -> A, then D would also be called as Prime Attribute.
Because, by definition prime attribute means part of candidate key, but not Super-key.
If the definition was w.r.t Super-key, then every attribute in the relation would be called as a prime attribute right? But that is not the case.
I hope it is clear to you now!