Lemma 26.11.2. Let $X$ be a scheme. The collection of affine opens of $X$ forms a basis for the topology on $X$.

Proof. This follows from the discussion on open subschemes in Section 26.9. $\square$

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).