Definition:Hereditarily Compact Space

Definition
Let $T = \left({S, \tau}\right)$ be a topological space.

Then $T$ is said to be  hereditarily compact every subspace of $T$ is compact.