Definition:Hereditarily Compact Space

Definition
Let $X$ be a topological space.

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