$$
f(w,t) = \sum_{a=0}^\infty\sum_{b=0}^\infty \partial_w^a\partial_t^b f(w_0,t_0)(w-w_0)^a(t-t_0)^b/(a!b!)
$$
The terms of order at most two are
$$
f(w,t)\approx f(w_0,t_0)
+ \partial_w f\cdot (w-w_0)
+ \partial_t f\cdot (t-t_0)
$$
$$
+ \partial_w^2 f\cdot (w-w_0)^2/(2!)
+ \partial_t^2 f\cdot (t-t_0)^2/(2!)
+ \partial t\partial_w f (w-w_0)(t-t_0)
$$
Let us write $df(w,t) = f(w,t)-f(w_0,t_0)$, $dw=w-w_0$, $dt=t-t_0$, and $=$ for $\approx$:
$$
df(w,t)=
\partial_w f\cdot dw
+ \partial_t f\cdot dt
$$
$$
+ \partial_w^2 f\cdot (dw)^2/2
+ \partial_t^2 f\cdot (dt)^2/2
+ \partial t\partial_w f dwdt
$$
Next let us impose $(dt)^2=0=dwdt$ and $(dw)^2=dt$:
$$
df(w,t)=
\partial_w f\cdot dw
+ \partial_t f\cdot dt
+ \partial_w^2 f\cdot dt/2
$$
which is Ito’s lemma.
Let’s integrate:
$$
\int df(w,t)=
\int\partial_w f\cdot dw
+ \int \partial_t f\cdot dt
+ \int\partial_w^2 f\cdot dt/2
$$
and go backwards:
$$
\int df(w,t)=
\int\partial_w f\cdot dw
+ \int\partial_t f\cdot dt
$$
$$
+ \int\partial_w^2 f\cdot (dw)^2/2
+ \int\partial_t^2 f\cdot (dt)^2/2
+ \int\partial t\partial_w f dwdt
$$
Note $\int (dW)^2$ and generally $\int dXdY$ only become meaningful when defined separate from the definition of the Ito integral: $\int dXdY:=\int d[X,Y]:= [X,Y]$, the quadratic covariation of $X$ and $Y$. The statement of Ito’s lemma does not involve the quadratic variation, but the proof does. We even need a notion of $\int f d[X,Y]$, but that’s okay as $[X,Y]$ is another stochastic process. $[X,Y]$ is an Ito process for $X=W$ and $Y\in\{W,t}$, since in those cases the variation has an almost sure constant value.