Proof (Euclidean domain is PID)
Let $R$ be a Euclidean domain with Euclidean function $ϕ$, and let $I\lhd R$ be an ideal. If $I=(0)$, then we are done.
Let $a$ be an element in $I\setminus \set{0}$ with minimal $ϕ(a)$. We have $(a)\subseteq I$. Moreover, for any $b\in I$, we can apply the Euclidean algorithm $$ \begin{align*} b = aq + r \end{align*} $$ where $q,r\in R$ with $r=0$ or $ϕ(r) < ϕ(a)$. But $aq\in I$ by the absorbing property, so $r=b-aq\in I$. Thus by the minimality of $ϕ(a)$, $r=0$, so $b\in (a)$. Hence $I = (a)$.