I was tackling with this problem from Munkres: If Y is compact, then the projection map of $X \times Y$ is a closed map.
And I thought the same things as Akt904. After reading Brian M. Scott's comment I was nearly convinced but what about the open subset $\{(x,y): x^2+y^2<1\}$ of $\Bbb{R}\times\Bbb{R}$? Since it is open it is a union of basis elements, can it written as $A\times B$ where both $A$ and $B$ are open subsets of $\Bbb{R}$? Or it is not needed for open sets to be written as $A\times B$?