Suppose I have proven that for $u \in H^1(\Omega) \cap C^1(\bar \Omega)$ that $$|u|_{L^2(\partial\Omega)} \leq f|u|_{H^1(\Omega)}$$ for some constant $f$.
Let $T:H^1(\Omega) \to L^2(\partial\Omega)$ be the trace operator. Then can I say that by the above
$$|Tu|_{L^2(\partial\Omega)} \leq f|u|_{H^1(\Omega)}$$
holds for all $u \in H^1(\Omega)\cap C^1(\bar \Omega)$. Then by density
$$|Tu|_{L^2(\partial\Omega)} \leq f|u|_{H^1(\Omega)}$$
holds for all $u \in H^1(\Omega).$
Is this valid? I am not sure about my second displayed equation.
That seems ok. For $u\in H^1(\Omega)\cap\mathcal{C}^1(\bar \Omega)$ you just define $Tu$ to be the the restriction of $u$ to the boundary, $u\big|_{\partial\Omega}$. Then your second displayed equation is basically the same as the first one.
For general $u\in H^1(\Omega)$ you can take aproximations by continuous functions. In other words, you define $Tu=\lim\limits_{n\rightarrow \infty}Tu_n$ where $u_n\rightarrow u$ in $H^1(\Omega)$ and $u_n\in H^1(\Omega)\cap\mathcal{C}^1(\bar \Omega)$. There is some work to do, though. You have to show that $Tu_n$ converges in $L^2(\partial\Omega)$ and that the definition is independent of the sequence chosen. This can be done with your second inequality.