I have a Hausdorff space $X$ and $E$ is a compact subspace, i want to prove that for all $x\in X$, if $x\notin E$ then there exists a neighborhood of $V$ of $x$ and an other $U$ for $E$ , such that $V\cap U=\emptyset.$
I let $y\in E$ then $x\neq y$, as $X$ is a Hausdorff space there exist a neighborhood $V$ for $x$ and $W$ for $y$ such that $V\cap W=\emptyset$