I'm reading a book and it says that the $H_0^1(\Omega)$ space is defined as "the completion of $C_0^\infty(\Omega)$ w.r.t the Sobolev norm $\| \cdot \|_1$, where $C_0^\infty(\Omega)$ is the space of infinitely differentiable functions which are nonzero only on a compact subset of $\Omega$".
Can I simply understand the $H_0^1(\Omega)$ space as the space of all functions $u$ in $H^1(\Omega)$ whose value on the boundary of $\Omega$ is $0$ ($u\big |_{\partial\Omega}=0$)?