Cosine: adjacent side/hypotenuse. Note: COSA = B/C = A/H.
Tangent: Opposite/adjacent edges. Note: tanA=a/b
Cotangent: adjacent edge/opposite edge. Note: cotA=b/a
The tangent and cotangent of the same angle are a pair of opposite numbers.