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

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

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

Also see

 * Equivalence of Definitions of Topological Connectedness