Definition:Connected (Topology)/Topological Space/Definition 4

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

$T$ is connected iff its only clopen sets are $S$ and $\varnothing$.

Also see

 * Equivalence of Connectedness Definitions