Let $P(\mathbb{F})$ be the set of all polynomials of one variable over a field $\mathbb{F}$. It is known that such a set, with usual polynomials operations, is a Euclidean domain, that is, a domain that has the Euclidean division algorithm. So we have the following
Theorem. Let $\deg: P(\mathbb{F})\setminus 0 \to\mathbb{N}$ the degree function. Then $(P(\mathbb{F}), \deg)$ is a Euclidean domain, that is:
a) $P(\mathbb{F})$ is a domain;
b)For all $f,g\in P(\mathbb{F}), g\ne 0$, exist unique polynomials $t,r\in P(\mathbb{F})$ such that $$ f(x) = g(x)q(x) + r(x), \text{ with }\deg(r)<\deg(g) \text{ or }r = 0. $$
What I want to know: In such a domain, what is meant by a irreducible or prime polynomial? Moreover, if $p, m\in P(\mathbb{F})$ are such that $p\vert m$ and $p$ is irreducible (or prime) and $m$ is monic (coefficient of the higher degree term is $1$), why we have that $\deg\left(\dfrac mp\right)<\deg(m)$, that is, why $p$ can't have zero degree?