In this paper, Whitham-Broer-Kaup (WBK) equations with time-dependent coefficients are exactly solved through Hirota's bilinear method. To be specific, the WBK equations are first reduced into a system of variable-coefficient Ablowitz-KaupNewell-Segur (AKNS) equations. With the help of the AKNS equations, bilinear forms of the WBK equations are then given. Based on a special case of the bilinear forms, new one-soliton solutions, two-soliton solutions, three-soliton solutions and the uniform formulae of n-soliton solutions are finally obtained. It is graphically shown that the dynamical evolutions of the obtained one-, two-and three-soliton solutions possess time-varying amplitudes in the process of propagations.