Definition of divergence
Rather than introducing the divergence of a vector field $\mathbf{w}$ as an inner product between $\mathbf{w}$ and the "vector" $\nabla$, here we define the divergence in a way that physically makes more sense.

The divergence of $\mathbf{w}$ at point P is defined as
$$\lim_{V\to 0}\frac{\oint_S \mathbf{w}\cdot d\mathbf{a}}{V}.$$
And it turns out that this is equal to
$$\begin{aligned}\nabla\cdot\mathbf{w} &= \left(\hat{\mathbf{x}}\frac{\partial}{\partial x}+\hat{\mathbf{y}}\frac{\partial}{\partial y}+\hat{\mathbf{z}}\frac{\partial}{\partial z}\right)\cdot\left(w_x\hat{\mathbf{x}}+w_y\hat{\mathbf{y}}+w_z\hat{\mathbf{z}}\right)\\ &= \frac{\partial w_x}{\partial x}+\frac{\partial w_y}{\partial y}+\frac{\partial w_z}{\partial z}.\end{aligned}$$
The divergence of a vector is a measure of how much the vector spreads out from the point in question.
Definition of curl
To define the curl of a vector field $\mathbf{v}$ at point P, we consider a circle with area $a$ whose center is at P.

The $\hat{\mathbf{n}}$ component of the curl of $\mathbf{v}$ at point P is defined as
$$\lim_{a\to 0}\frac{\oint_{\mathcal{P}} \mathbf{v}\cdot d\mathbf{l}}{a}.$$
It turns out that this is equal to
$$(\nabla\times\mathbf{v})\cdot\hat{\mathbf{n}}.$$
Specifically,
$$\begin{aligned}(\nabla\times\mathbf{v})_x &= \frac{\partial v_z}{\partial y}-\frac{\partial v_y}{\partial z},\\ (\nabla\times\mathbf{v})_y &= \frac{\partial v_x}{\partial z}-\frac{\partial v_z}{\partial x},\\ (\nabla\times\mathbf{v})_z &= \frac{\partial v_y}{\partial x}-\frac{\partial v_x}{\partial y}.\end{aligned}$$
The curl of a vector is a measure of how much the vector curls around the point in question.