Compact Subspace of Hausdorff Space is Closed

Theorem
Let $H = \left({A, \tau}\right)$ be a Hausdorff space.

Let $C$ be a compact subspace of $H$.

Then $C$ is closed in $H$.