# Connected if and only if no proper clopen sets

A topological space $(X,\tau)$ is connected if and only if all no proper nonempty subset of $X$ is simultaneously closed and open.