# Isn't $(0)$ a prime ideal in a field?

I have read in multiple places that a field $K$ has a Krull dimension of $0$. How is this true? Isn't $(0)\subset K$ a prime ideal in $K$? Obviously $K$ is an integral domain.

-
Sure, but $K$ is not a prime ideal, so the inclusion $0\subset K$ does not count towards the dimension. –  anon Jul 23 '13 at 6:51

The Krull dimension is defined to be the length of the longest chain of prime ideals. In other words, a ring $R$ is said to have a Krull dimension $n$, if the longest possible chain of prime ideals $$\mathfrak{p}_{0}\subsetneq\mathfrak{p}_1\subsetneq\cdots\subsetneq\mathfrak{p}_n$$ has length $n$.
Since $0$ is the only prime ideal in a field (in fact the only proper ideal in a field), it follows that Krull dimension of a field is 0 (since there is no way to have $0\subsetneq\mathfrak{p}$ for another prime ideal $\mathfrak{p}$).
Added. In case it wasn't made clear, $K$ itself is not a prime ideal of $K$, because by definition prime ideals must be proper ideals.